Tagged: tabsection
-
AuthorPosts
-
July 5, 2018 at 3:48 pm #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,
StefanJuly 7, 2018 at 11:31 am #982401Hey 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,
VictoriaJuly 31, 2018 at 10:11 am #991857THX….!! it works ….
July 31, 2018 at 10:41 am #991863Hi,
Glad it works now :)
Best regards,
Dude -
AuthorPosts
- The topic ‘Link to tab in Tabsection’ is closed to new replies.