You are here: irt.org | BBS | Re: inserting a pause in a script [This BBS is closed]
Posted by Jason Nugent on August 28, 1998 at 06:06:17:
In Reply to: Re: inserting a pause in a script posted by Yvan Gagnon on August 28, 1998 at 05:53:27:
: I came up with an idea on how to create a pause, only it's giving me some trouble. The script below seems to be choking on the "onLoad" handler. Any idea why, maybe?
: <SCRIPT LANGUAGE="JavaScript">
: function pause () {
: document.write ('<img src=images/timer.jpg height=100 width=100 onLoad=moveit ();moveit2 ()'>)
: }
: </script>
: thanx,
: -- yvan
Just a suggestion, but you might want to place " " around the attibutes in there. I don't know if that is causing your problem, though:
document.write ('<IMG SRC="images/timer.jpg" height="100" width="100" onLoad="moveIt ();moveIt2 ()">');
Jason
Follow-ups:
You are here: irt.org | BBS | Re: inserting a pause in a script [This BBS is closed]