Miss_Thang
10-30-2005, 08:02 PM
I have a marquee going up on my site that shows the headlines of my site, however I can't figure out how to make it go slower and stop when someone hovers over the link. Here's an example: http://fan-sites.org/b5 . Thanks. :cheer2:
Dutch.American
10-30-2005, 09:03 PM
This should help you out a little:
http://www.lissaexplains.com/fun3.shtml
As for the stopping on mouse-over, not really sure, sorry.
+Dutch :)
putnamehere
10-30-2005, 09:46 PM
take this part out of your code
onmouseover=document.all.updates.stop() onmouseout=document.all.updates.start()
Miss_Thang
10-31-2005, 12:42 AM
ok here's what i got:
<div style="position:absolute;left:15px;top:302px;">
<table border="0" width="200" cellpadding="2">
<tr>
<td bgcolor="#FFFFFF">
<img src="headlines.png">
<br>
<marquee direction="up" onmouseover=document.all.updates.stop() onmouseout=document.all.updates.start()>
<?php include "news/headlines.php";?>
</marquee>
</tr>
</table>
</div>
Is that right? the marquee code?
Lîm_Gravecryer
10-31-2005, 09:59 AM
why so dificult?
this is all u need:
start/stop:
<marquee onMouseover="this.stop()" onMouseout="this.start()"> blaat</marquee>
change speed:
<marquee onMouseover="this.scrollAmount=10" onMouseout="this.scrollAmount=2">blaat</marquee>
combination:
<marquee onMouseover="this.stop()" onMouseout="this.start(); this.scrollAmount=20"> blaat</marquee>
-Lim