Forums

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

  • This topic is empty.
Viewing 1 post (of 1 total)
  • Author
    Posts
  • #27356
    arkader
    Participant

    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 :

    Code:
    $(function(){

    var time = … ;

    $(‘#box’).fadeOut(time,callback(){})

    )} // end jQuery

    PS : I’m sorry for my bad english

    Thanks !!! :D

Viewing 1 post (of 1 total)
  • The forum ‘JavaScript’ is closed to new topics and replies.