Hi Tedd,<br><br>&nbsp;&nbsp;&nbsp;&nbsp;It's a computer; you can do anything :)<br><br>&nbsp;&nbsp;&nbsp;&nbsp;Seriously, though, if you have the IDs, then you just need to define your rules for parsing them (I assume you meant that #q33 would disappear after 3 seconds, rather than having #q31 disappear twice).&nbsp; Take the last character of the ID -- or just replace the #q3 part if your sequence goes into the double digits -- and then&nbsp;call parseInt to convert it to an integer.&nbsp; Use a function that recursively calls itself with setTimeout if there's another element left in the sequence, and you should be all set.<br><br>Does that make any sense?&nbsp; I haven't slept much lately.<br><br>Peter<br><br><font face="Tahoma, Arial, Sans-Serif" size=2>
<hr align=center width="100%" SIZE=2>
<b>From</b>: tedd <a href="mailto:tedd@sperling.com">tedd@sperling.com</a></font><br><br>Hi:<br><br>I would like to remove DOM elements from a web page in a timed sequence.<br><br>These elements are identified with ID's in both html and a css sheet, <br>such as those appearing at the end of this email. But, I would like <br>to set these elements to "display: none;" in a timed sequence, such <br>as #q31 disappears after one second, #q32 after two seconds, and #q31 <br>after three seconds.<br><br>Can that be done?<br><br>Thanks,<br><br>tedd<br><br>--- the css<br><br>#q31<br>{<br>position: relative;<br>top: 0px;<br>left: 40px;<br>}<br><br>#q32<br>{<br>position: relative;<br>top: 59px;<br>left: -64px;<br>}<br><br>#q33<br>{<br>position: relative;<br>top: 59px;<br>left: -64px;<br>}<br><br>