• bgallagher

    (@bgallagher)


    First off, I noticed an issue that you REQUIRE a tab ID, but don’t set the tab ID in the tab HREF on line 28, you set $tab_id = ” instead of $tab_id = $tab[‘tab_id’].

    Secondly, when a user views a page with a hash that matches the tab ID, you would assume that the matching tab should become the active one. It doesn’t. I would love to see this as a feature, I have a form in one of the tabs that refreshes the page and would like the tab to become active when the page refreshes. Currently I use external JS to check if a tab exists with the same hash int he URL and set the lsow-active class on it that way.

    If this is already a feature and I’m just missing something please let me know.

Viewing 1 replies (of 1 total)
  • Plugin Author livemesh

    (@livemesh)

    The feature is currently only available in the premium version of the plugin. Part of that code sneaked into the free version since we maintain a single codebase for both premium and free version. We need this to be removed from the free version entirely so that users are not confused. We have another support request asking to remove the hash to be removed from url when the tab is clicked – related to this issue.Will get the same addressed in upcoming update.

Viewing 1 replies (of 1 total)
  • The topic ‘Tabs should be active if Tab ID matches URL hash’ is closed to new replies.