PDA

View Full Version : create a time delay?


duniyadnd
10-02-2002, 03:54 PM
I have a portion of a page that I want to popup on the page after 5 seconds. What do I have to do to create a function that would enable me to do that?

Thanks
Duniyadnd

ASAAKI
10-02-2002, 04:52 PM
<body onload=setTimeout("popup()",5000)>

where popup() is your .... page-portion-popping-up function. the setTimeout function uses microseconds, that's why it's 5000.