• Hi—
    Has anybody come up with a way to display each tab’s unique url in the address bar so that it’s easy for visitors to copy and share the url?

    By the way, I love this plugin, especially the Row Layout blocks!

    thanks,
    Lisa

    • This topic was modified 5 years, 7 months ago by lisath.
    • This topic was modified 5 years, 7 months ago by lisath.

    The page I need help with: [log in to see the link]

Viewing 3 replies - 1 through 3 (of 3 total)
  • Hey,
    Thanks for posting!
    Right click on your tabs and click “copy link” in the popup window, you will get a link like this: https://livingnewdeal.org/green-new-deal/#tab-news

    I hope that helps!

    Ben

    Thread Starter lisath

    (@lisath)

    Hi Ben,

    Thanks for replying!

    I’d like to have the full url including the anchor tag (#tab-news) appear in the address bar so that my visitors will be able to easily copy the url. I don’t think most of them would ever think to right-click. ??

    There must be something in the plugin’s code that suppresses the appearance of the anchor in the browser address bar?

    Thanks,
    Lisa

    Hey,
    Thanks for posting,

    Yep, I wasn’t thinking for users, I was thinking you wanted the links so you could link directly to a tab from some other page. In general, tabs are not meant to work as a menu system. So for what you want, you might want to consider using a menu and separate pages?

    The tabs are not meant to “jump” your page scroll when you click on them like an anchor link so they act more like buttons that simply hide and show different content.

    One option you could do is to add in a javascript hack that makes the tab links fill the browser url… but this will make the scroll jump.

    Add it into html of the page or in your header or footer:

    <script>
    jQuery( document ).ready( function( $ ) {
    $( '.kt-tabs-title-list li a' ).click( function( ) {
    window.location.hash  = $(this)[0].hash;
    });
    });
    </script>

    Ben

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Display Tabs’ Unique URLs’ is closed to new replies.