<marquee onMouseover="this.scrollAmount=1" onMouseout="this.scrollAmount=4">
Scrolling text here. Scrolling text/images goes here
</marquee>
If you want to retrieve images dynamically using PHP here is the logic,
<marquee onMouseover="this.scrollAmount=3" onMouseout="this.scrollAmount=6">
<?php
//database connection
//retrive image names from database
//get full image path
?>
<img src="<?php echo $image_path; ?>" />
</marquee>
Cheers, works like a dream!
ReplyDeleteI was looking for a very simple line of code that would allow my vertical marquee to pause on mouseover -- found many very complicated ones that didn't work the way I wanted. This one was very simple, fast, and it works! Thanks!
ReplyDeletei really proud of u.
ReplyDeleteWorks fabulous! Thanks!
ReplyDelete