I have some code like this:
function switch_tabs(obj) { $(\'.tab-content\').hide(); $(\'.tabs a\').removeClass(\"selected\"); var id = obj.attr(
You can use animate insted of show/hide
Something like this:
function switch_tabs(obj) { $('.tab-content').animate({opacity:0},3000); $('.tabs a').removeClass("selected"); var id = obj.attr("rel"); $('#'+id).animate({opacity:1},3000); obj.addClass("selected"); }