javascript - How to fade in with jQuery -
my idea fade in tab loaded.
this code seems should work, doesn't fade in. wrong?
$(document).ready(function() { $("#logo").click(function(event) { $("#central").fadein("slow").load('page.html'); }); });
you have hide #central first, before fading in:
$('#central').hide().fadein('slow').load('page.html');
Comments
Post a Comment