Need help

Discussion in 'JavaScript' started by criminal19, Jan 12, 2009.

  1. #1
    hello

    I'm looking for a javascript function that pause swf loading and load something els before for 10 seconds then load the swf .

    exp :
    image or ads will appear for 10 seconds then replaced with the swf


    tnx and sorry for my bad english
     
    criminal19, Jan 12, 2009 IP
  2. siothach

    siothach Active Member

    Messages:
    656
    Likes Received:
    6
    Best Answers:
    0
    Trophy Points:
    60
    #2
    you only need use setTimeout function

    setTimeout Method
    Evaluates an expression after a specified number of milliseconds has elapsed.

    Syntax

    iTimerID = window.setTimeout( vCode , iMilliSeconds [ , sLanguage ] )
     
    siothach, Jan 12, 2009 IP
  3. vikasrathi

    vikasrathi Banned

    Messages:
    9
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #3
    hello dear,

    i think u should use setTimeout() function.
    this is helpful to you.
     
    vikasrathi, Jan 13, 2009 IP