View Full Version : Slow down Marquee


west2001gal
02-03-2003, 07:09 AM
See I want to align images of marquees side by side in one Iframe, so how do I it?

<marquee behavior=scroll direction="left" scrollamount="5" ><a href="URL"><img src="image.jpg" width="88" "height="31" border="0" alt="text"></a></marquee>

<marquee behavior=scroll direction="left" scrollamount="5" ><a href="URL"><img src="image.jpg" width="88" "height="31" border="0"
alt="text"></a></marquee>


they appear one above the other, so how do I put them side by side ?

and how do I make the images slow down when one puts his/her cursor over the images?

altpara
02-03-2003, 07:23 AM
I'm not sure about the rules for Marquees, but...
perhaps if you give the marquee a width?

http://www.htmlcodetutorial.com/_MARQUEE.html

In order to get the Marquee to change its behaviour, in this case slow down, when the mouse is over it, you'd need to use a JavaScript of some kind.

It would probably be simpler for you to modify this script:
http://www.dynamicdrive.com/dynamicindex2/cmarquee.htm
to your needs.

west2001gal
02-04-2003, 07:48 AM
I can't really find the solution.

Can someone please post me the code here please!!??

epolady
02-04-2003, 09:01 AM
<marquee behavior=scroll direction="left" scrollamount="5" ><a href="URL"><img src="image.jpg" width="88" "height="31" border="0" alt="text"></a> <a href="URL"><img src="image.jpg" width="88" "height="31" border="0"
alt="text"></a>

Will put it side by side

And add this to your marquee behavior tag to stop when someone puts their mouse on it

onMouseover="this.scrollAmount=0" onMouseout="this.scrollAmount=5"

west2001gal
02-04-2003, 10:30 AM
o thanks.

That was helpful.