if you just want images to scroll.
You'll need to use a marquee.
and then if you want them to stop on mouseover so someone can make the image/text stop and look at it; you'd be looking at something like:
onMouseover(marquee="false")
or something, sorry, i'm crap with JS.
marquee code:
- Code: Select all
<marquee direction="left" behavior="scroll" scrollamount="5" >content</marquee>
to break it down:
direction: up/down/left/right - what direction the content moves in
behavoiur: scroll/bounce - how the content moves
scrollammount: 1-infinity - how fast the content moves. 1- slowest.
ofcourse, you can always use css and assign a class to the marquee and then just have something like:
- Code: Select all
.ads{
direction: left;
behaviour: scroll;
scrollammount: 5;
+normal css
}
and
- Code: Select all
<marquee class="ads">content</marquee>
sorry I can't help with the onMouseover thing. someone else should be able to though.