jquery - How do I add a fade in? -


how add fade in this?

  $(document).ready(function(){   var myquotes = new array();    myquotes[0] = "all connected... ";    myquotes[1] = "the best way";    myquotes[2] = "your work discover";    myquotes[2] = "if success";    var myrandom = math.floor(math.random()*myquotes.length);    $('#quotehome').html(myquotes[myrandom]);       

});

you can chain .hide() .fadein(), this:

$('#quotehome').html(myquotes[myrandom]).hide().fadein(); 

Comments

Popular posts from this blog

Add email recipient to all new Trac tickets -

400 Bad Request on Apache/PHP AddHandler wrapper -

asp.net - repeatedly call AddImageUrl(url) to assemble pdf document -