Hello, there is a need to switch Bootstrap tabs with a swipe, with the effect of slide. Now I use the code below, but the switch takes place with the fade effect:
$(".tab-content").swiperight(function() { var $tab = $('#tablist .active').prev(); if ($tab.length > 0) $tab.find('a').tab('show'); }); $(".tab-content").swipeleft(function() { var $tab = $('#tablist .active').next(); if ($tab.length > 0) $tab.find('a').tab('show'); });