Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Contributor Gregor Capuder

    (@capuderg)

    Hi,

    there is no easy way to do this…

    You can trigger a tab change with this JS code:
    $('#myTab a[href="#profile"]').tab('show')

    More info on bootstrap tabs here.

    You could create an on click event for a particular link and call the above code to change the tab.

    Take care!

    Thread Starter dbigca

    (@dbigca)

    Hello,
    After struggling with this for some time, being unable to properly target specific tabs that I want to change, I realized that the ID of the tabs are changing after content updates and (it seems) page refreshes.

    Can you please add a field to the tag interface that allows a user to set an ID for each tab so they can be specifically targeted?

    Thanks very much,
    Doug

    Plugin Contributor Gregor Capuder

    (@capuderg)

    Hi Doug,

    I will change the ids to use the tab names (with removed whitespace). This fix will be available in the next version (probably in the next few days).

    Take care!

    Thread Starter dbigca

    (@dbigca)

    I look forward to the update!

    Thanks very much,
    Doug

    Plugin Contributor Gregor Capuder

    (@capuderg)

    Hi,

    I’ve updated the plugin and the links/IDs issue is fixed. The IDs are now using tab titles (so no more random strings). The structure of the ID is: tab-[title_of_the_tab] (example title: “tab 1″, ID=”tab-tab-1”).

    Take care!

    Thread Starter dbigca

    (@dbigca)

    Works like a charm – thanks very much for the quick update!

    Doug

    Plugin Contributor Gregor Capuder

    (@capuderg)

    Hi,

    no problem ??

    If you Like our plugin, please rate it, we would really appreciate it ??

    Take care!

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Content link to change tab visibility’ is closed to new replies.