All Posts by Email, Once a Week

Media Temple logo

CSS-Tricks is brought to you in part by Media Temple, the web hosting that we both use and recommend.

Specify a Random Time for fadeOut jQuery

  • # December 28, 2009 at 2:42 pm

    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 = … ;


    )} // end jQuery

    PS : I’m sorry for my bad english

    Thanks !!! :D

Viewing 1 post (of 1 total)

You must be logged in to reply to this topic.

There's a whole bunch of content on CSS-Tricks.

Search for Stuff   •   Browse the Archives

Get the Newsletter ... or get the RSS feed