I\'m trying to figure out how to do a slide left, right, up, down between two Bootstrap 3 tabs.
I have searched the web and surprisingly have not found anything.
Th
There is better way I have used in my last project. Its Animate.css
JavaScript
function leftSlide(tab){
$(tab).addClass('animated slideInLeft');
}
function rightSlide(tab){
$(tab).addClass('animated slideInRight');
}
$('li[data-toggle="tab"]').on('shown.bs.tab', function (e) {
var url = new String(e.target);
var pieces = url.split('#');
var seq=$(this).children('a').attr('data-seq');
var tab=$(this).children('a').attr('href');
if (pieces[1] == "profile"){
leftSlide(tab);
}
})