• Resolved NWTD

    (@nwtechie)


    Is there a way to use anchor tags to jump to the appropriate tab and content?

    For instance, I have a few anchor tags in my 2nd tab. I tried creating a link elsewhere on my site to those anchors. When clicking the links, it just takes me to the page with ERT, but not to the tab with the anchored text.

    http://wordpress.org/plugins/easy-responsive-tabs/

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author osCitas Themes

    (@oscitas)

    Hi,

    As per our understanding you want to select one other tab from the content of current tab, if this is you want then you have to write some javascript . e.g. if you are in Tab1 and in the Tab1 content you have link “Select Tab2”, on click of this link you have to select Tab2 then write following code

    <a onclick="jQuery(this).parents('.tabbable').find('li:eq(2) a').tab('show');" href="javascript:;">Select Tab2</a>

    Here we have used class “tabbable”, but you can put your custom class if you have more than one tabs on the same page. And eq(2) is to select second tab so you have to put the tab number you want to select.

    for more details please check the following link

    http://demo.oscitasthemes.com/demos/easy-responsive-tabs/

    Thanks

    Plugin Author osCitas Themes

    (@oscitas)

    Hi,

    We hope our last response resolved your issue, so we are marking this ticket resolved, you can comment here or can open new ticket incase your issue is not resolved.

    Thanks

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Linking to anchor tags’ is closed to new replies.