<font face="arial" size="2">Roger,<br /><br />&nbsp;&nbsp;&nbsp;Who publishes that book?&nbsp; I've heard all about Danny Goodman's Javascript Bible, but that one's new to me. I'd love a good reference that isn't as cumbersome as the W3C site.&nbsp; <a href="http://msdn.microsoft.com/scripting">http://msdn.microsoft.com/scripting</a> is good for IE (and often others), but unfortunately that doesn't always&nbsp;cover it all.<br /><br />&nbsp;&nbsp;&nbsp;Oh, and your script is correct (at least according to my sleep-deprived eyes and pint-of-Wexford's-Irish-Cream-Ale-addled brain).<br /><br />Cheers,<br /><br />Peter<br /><br /></font><font face="Tahoma, Arial, Sans-Serif" size="2"><b>From</b>: Roger Roelofs <a href="mailto:rer@datacompusa.com">rer@datacompusa.com</a><br /></font><br />Tim,<br /><br />On Jan 6, 2005, at 8:07 PM, Tim Burgan wrote:<br /><br />&gt; Hello,<br />&gt;<br />&gt;<br />&gt; I'm wondering how I can pause or hold javascript execution for 2 <br />&gt; seconds.<br />&gt;<br />&gt; I have a web page that displays a message, then after 2 seconds I want <br />&gt; the window to close.<br />&gt;<br />&gt; Can someone please forward me in the right direction as to where I <br />&gt; find out how to do something like this.<br /><br />This is from memory, so double-check me...<br /><br />function closeWin() {<br />// close the window...<br />}<br /><br />setTimeout('closeWin()', 2000);<br /><br />&gt; PS. In PHP, they have an excellent official online manual, and Java <br />&gt; has their API.. does JavaScript have a similar type of documentation?<br /><br />Not that I know of. I always just look in 'Javascript: The Definitive <br />Guide' It's a bit dated (at least my copy is :) ) but handy.<br /><br />hth<br /><br />Roger,<br /><br />Roger Roelofs<br />Datacomp Appraisal Services<br />