Code to make div appear after a certain amount of time.

Posted by user307783 on Stack Overflow See other posts from Stack Overflow or by user307783
Published on 2010-04-02T16:35:31Z Indexed on 2010/04/02 16:43 UTC
Read the original article Hit count: 306

Filed under:
|
|
|

Hi,

I'm looking for code that makes a div appear after a certain amount of time on a site. Here's the sort of thing I'm talking about:

<div class="container">
<div class="secretpopout">
This is the div I want to pop out after a couple of minutes.
</div>
</div>

I'm relatively new to javascript and jQuery, but I'm assuming I will need to use the setTimeout or something similar. I've tried finding the answer online, but if someone could explain it in a way a designer (as opposed to a programmer) would get it, that would be great - ANY LIGHT shed on this would be greatly appreciated.

Thank you.

© Stack Overflow or respective owner

Related posts about jQuery

Related posts about JavaScript