The forums ran from 2008-2020 and are now closed and viewable here as an archive.
Home › Forums › JavaScript › Specify a Random Time for fadeOut jQuery
Hi Everyone !
I need a quick tip for my website please !
I would lide to fadeOut a div, but i want a random time I want a time between 0,1sec and 2 sec
here is the code :
var time = … ;
$(‘#box’).fadeOut(time,callback(){})
)} // end jQuery
PS : I’m sorry for my bad english
Thanks !!! :D