I have some code like this:
function switch_tabs(obj) { $(\'.tab-content\').hide(); $(\'.tabs a\').removeClass(\"selected\"); var id = obj.attr(
I think you want both the animation and to set the display property at the end. In that case you better use show() callback as shown below
show()
$("#my_obj").show(400,function() { $("#my_obj").css("display","inline-block") }) ;
This way you will achieve both the results.