Is it possible to delay document.write("blah blah ..")?
- From: gnewsgroup <gnewsgroup@xxxxxxxxx>
- Date: Fri, 28 Dec 2007 08:06:13 -0800 (PST)
On page load, is it possible to write out something to the browser
using
document.write("blah blah ...");
And then pause for 2 seconds and write out something else like
document.write("something funny...");
Javascript does not seem to have a sleep function. I've tried
setTimeOut("myFunction()", mydelay);
It does not work.
Any idea? Thanks.
.
- Follow-Ups:
- Re: Is it possible to delay document.write("blah blah ..")?
- From: Doug Gunnoe
- Re: Is it possible to delay document.write("blah blah ..")?
- From: -Lost
- Re: Is it possible to delay document.write("blah blah ..")?
- From: My Pet Programmer
- Re: Is it possible to delay document.write("blah blah ..")?
- From: Martin Honnen
- Re: Is it possible to delay document.write("blah blah ..")?
- Prev by Date: How to get the absolute position after scroll
- Next by Date: Re: Is it possible to delay document.write("blah blah ..")?
- Previous by thread: How to get the absolute position after scroll
- Next by thread: Re: Is it possible to delay document.write("blah blah ..")?
- Index(es):
Relevant Pages
|