|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
Hi!
I want to show a layer for 15 seconds when a page is load and if the user don't click a button, the layer dissapear. Any help? p.s.Sorry for my english! |
|
#2
|
|||
|
|||
|
Easy! Use the setTimeout() function. Something like:
timeoutID = setTimeout(obj.visibility=hidden, 15000) Or something like that. First parameter is the expression to run. The second is the time to wait before doing it (in ms). Play about with it. Good luck... ------------------ Mark Ogden http://homepage.ntlworld.com/pogden |
![]() |
| Viewing: Dev Shed Forums > Web Design > HTML Programming > Layer/Timeout |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|