Tagged: 

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #981642

    Hi guys….
    after updating, my tablinking ist not working anymore….? did anything mayor change?

    https://www.eurotours-gruppenreisen.at/
    pls find the tablinks in the top right header: Eurotours Kitzbühel, Eurotours Wien, etc….

    // auto trigger
    add_action(‘wp_footer’, ‘ava_custom_script’);
    function ava_custom_script()
    {
    ?>
    <script>
    (function($){
    function getQueryParams(qs) {
    qs = qs.split(“+”).join(” “);
    var params = {},
    tokens,
    re = /[?&]?([^=]+)=([^&]*)/g;

    while (tokens = re.exec(qs)) {
    params[decodeURIComponent(tokens[1])]
    = decodeURIComponent(tokens[2]);
    }

    return params;
    }

    var $_GET = getQueryParams(document.location.search);

    $(window).load(function() {
    switch($_GET[‘tabsort’]) {
    case ‘1’:
    $(‘a[data-av-tab-section-title=”1″]’).trigger(‘click’);
    break;
    case ‘2’:
    $(‘a[data-av-tab-section-title=”2″]’).trigger(‘click’);
    break;
    case ‘3’:
    $(‘a[data-av-tab-section-title=”3″]’).trigger(‘click’);
    break;
    case ‘4’:
    $(‘a[data-av-tab-section-title=”4″]’).trigger(‘click’);
    break;
    case ‘5’:
    $(‘a[data-av-tab-section-title=”5″]’).trigger(‘click’);
    break;
    case ‘6’:
    $(‘a[data-av-tab-section-title=”6”]’).trigger(‘click’);
    break;
    }
    });
    })(jQuery);

    THX in advance
    best,
    Stefan

    #982401

    Hey Commodus76,

    They seem to be working on my end. Could you please clear the cache, check again and get back to us.

    Which browser are you using?

    Best regards,
    Victoria

    #991857

    THX….!! it works ….

    #991863

    Hi,

    Glad it works now :)

    Best regards,
    Dude

Viewing 4 posts - 1 through 4 (of 4 total)
  • The topic ‘Link to tab in Tabsection’ is closed to new replies.