HTML Programming
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsWeb DesignHTML Programming

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
  #1  
Old October 5th, 2000, 12:09 PM
Alain Alain is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Oct 2000
Posts: 1 Alain User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
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!

Reply With Quote
  #2  
Old October 6th, 2000, 07:50 AM
poggy poggy is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Sep 2000
Location: UK
Posts: 9 poggy User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Send a message via ICQ to poggy
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

Reply With Quote
Reply

Viewing: Dev Shed ForumsWeb DesignHTML Programming > Layer/Timeout


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 6 hosted by Hostway