marquee javascript
#1
Scooby Regular
Thread Starter
Join Date: Nov 2001
Location: sheffield
Posts: 4,093
Likes: 0
Received 0 Likes
on
0 Posts
marquee javascript
can anyone help me
whats the html/java code for scrolling text from bottom to up continuously, at a slow pace, and for it to stop when the mouse goes over it?
whats the html/java code for scrolling text from bottom to up continuously, at a slow pace, and for it to stop when the mouse goes over it?
#2
Remove the comment tag and voila.
On load of the page the scroller fires off javascrit to start your marquee, when you place the mouse over the text it stops, once removed, voila.
Hope that helps.
<!--html>
<head>
</head>
<body onLoad="javascript:scroller.start();">
<marquee id="scroller" style="background-color:lightyellow;border:1px solid black"
onMouseover="this.scrollAmount=0" onMouseOut="this.scrollAmount=5">Hi there</marquee><br>
<script>
if (document.all)
scroller.stop()
</script>
</html-->
On load of the page the scroller fires off javascrit to start your marquee, when you place the mouse over the text it stops, once removed, voila.
Hope that helps.
<!--html>
<head>
</head>
<body onLoad="javascript:scroller.start();">
<marquee id="scroller" style="background-color:lightyellow;border:1px solid black"
onMouseover="this.scrollAmount=0" onMouseOut="this.scrollAmount=5">Hi there</marquee><br>
<script>
if (document.all)
scroller.stop()
</script>
</html-->
Thread
Thread Starter
Forum
Replies
Last Post
astraboy
Non Scooby Related
7
12 August 2003 11:21 AM