Target Tab via link on the website
-
I’m novice web developer starting out. I’m using easy responsive tabs on my site with three tabs. I would like to create link to bring the user to specific tab. It seems that if link is so website/#ert_pane1-2 it brings to the third tab given it is opened in new window. It is not working on the current page where tab is.
I found this which is exactly what I want to make the last example https://demo.oscitasthemes.com/demos/easy-responsive-tabs/
Codea onclick=”jQuery(‘.example2’).find(‘li:eq(2) a’).tab(‘show’);” href=”javascript:;”>Select tab2
a onclick=”jQuery(‘.example2’).find(‘li:eq(3) a’).tab(‘show’);” href=”javascript:;”>Select tab3
Note: I took out the link a tag because the code was dissapearing!However my problem is how to use the above code! : ) Can someone tell me step by step what to do. I have no javascript skills.
All I have is this in my wordpress page is following. Thanks.
[restabs alignment=”osc-tabs-left” responsive=”false”]
[restab title=”Write Us” active=”active”]address[/restab]
[restab title=”Talk to Us”]hello [/restab]
[restab title=”Our Location” ] map[/restab]
[/restabs]
- The topic ‘Target Tab via link on the website’ is closed to new replies.