jquery - FadeIn WITHOUT .hide() function? -
i want make fadein effect don't want hide because screws margins when object literally hidden document. need ideally animate opacity 0, i'm having trouble getting work. ideas? thanks!
$(document).ready(function(){ $("#item").css("opacity", 0).delay(13000).fadein(2000); });
as using opacity
, should use fadeto
method instead of fadein
.
$("#item").css("opacity", 0).delay(13000).fadeto(2000, 1);
Comments
Post a Comment