|
-
Nov 27th, 2002, 10:13 AM
#1
Thread Starter
Fanatic Member
marquee and setTimeout????
What I want is to use MARQUEE to move the first image (or a word) down and another image move up....ok this is easy but I want this last only for 20 seconds...after 20 seconds let the first image move up as the other image move down......and let this repeat again...hope you got it...
Last edited by merhaba; Nov 28th, 2002 at 09:33 AM.
-
Nov 29th, 2002, 12:22 PM
#2
Hyperactive Member
<html>
<head>
<script>
a = setInterval('moveIt()',5000);
function moveIt() {
alert('your code for the moving');
}
</script>
</head>
<body onLoad="moveIt()">
</body>
</html
change 5000 to 20000
replace my alert with your moving code
setInterval can be used if you want it to repeat.
you can alway clear the setInterval
if you use setTimeOut it will do it once
hope this helps you
bsw
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|