WordPress.org

Ready to get started?Download WordPress

Forums

Easy Responsive Tabs
[resolved] Linking to anchor tags (3 posts)

  1. NWTD
    Member
    Posted 6 months ago #

    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/

  2. osCitas Themes
    Member
    Plugin Author

    Posted 6 months ago #

    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

  3. osCitas Themes
    Member
    Plugin Author

    Posted 6 months ago #

    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

Reply

You must log in to post.

About this Plugin

About this Topic

Tags

No tags yet.