Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums JavaScript How to load website Apple style

  • This topic is empty.
Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #37084
    ylex1
    Participant

    Hey guys
    Have you seen the effect in the apple website, when the first thing that loads is the cover image and then after a few seconds it loads all the other elements with a fade effect.
    How can I do that?
    Thanks

    #98713
    cizmic
    Participant

    I would use some script timeouts:

    setTimeout("functionName();",5000);

    The first value would be the function, in which you could use jQuery to fade in. The second value is how long the delay is in milliseconds (seconds times 1000).

    Alternatively, you could use CSS3 animation, but the first option is more cross-browser.

    #98716
    PixelClaw
    Member
    #100748
    ylex1
    Participant

    Hey man that was exactly what I was looking for thanks

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