You are here: irt.org | BBS | Re: OOps, .. forgot about the not remming out... [This BBS is closed]
Posted by Jason Nugent on August 27, 1998 at 07:28:29:
In Reply to: Re: OOps, .. forgot about the not remming out... posted by Yvan Gagnon on August 26, 1998 at 19:58:28:
: (sorry)
:
: <SCRIPT LANGUAGE="JavaScript">
: function moveit2 () {
: if (document.all) {
: document.all.right.style.posLeft = document.all.right.style.posLeft + 20;
: if (document.all.right.style.posLeft < screen.width)
: setTimeout ("moveit2 ()",100);
: }
: else if (document.layers) {
: document.right.left += 20;
: if (document.right.left < screen.width)
: setTimeout ("moveit2 ()",1);
: setTimeout ("location.href = 'black.html'",4000);
:
: }
: }
:
:
I've never tried this, but have you tried using setTimeout () with a null value for the code to execute?
setTimeout (null, 2000);
or something? That might give you the pause you are looking for.
Jason
Follow-ups:
You are here: irt.org | BBS | Re: OOps, .. forgot about the not remming out... [This BBS is closed]