[Javascript] A Timed removal of DOM elements

Terry Bader bader at tcbader.com
Fri Mar 28 13:59:36 CDT 2008


use setTimeOut

~Terry

----------------------------------------
From: "tedd" <tedd at sperling.com>
Sent: Friday, March 28, 2008 1:50 PM
To: "JavaScript List" <javascript at lists.evolt.org>
Subject: [Javascript] A Timed removal of DOM elements 

Hi:

I would like to remove DOM elements from a web page in a timed sequence.

These elements are identified with ID's in both html and a css sheet, 
such as those appearing at the end of this email. But, I would like 
to set these elements to "display: none;" in a timed sequence, such 
as #q31 disappears after one second, #q32 after two seconds, and #q31 
after three seconds.

Can that be done?

Thanks,

tedd

--- the css

#q31
	{
	position: relative;
	top: 0px;
	left: 40px;
	}

#q32
	{
	position: relative;
	top: 59px;
	left: -64px;
	}

#q33
	{
	position: relative;
	top: 59px;
	left: -64px;
	}

-- 
-------
http://sperling.com  http://ancientstones.com  http://earthstones.com
_______________________________________________
Javascript mailing list
Javascript at lists.evolt.org
http://lists.evolt.org/mailman/listinfo/javascript


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.evolt.org/pipermail/javascript/attachments/20080328/68f1edad/attachment.htm>


More information about the Javascript mailing list