PDA

View Full Version : marquee wrap around



wiklendt
06-22-2005, 11:33 AM
hi,

i downloaded this script from DD

http://www.dynamicdrive.com/dynamicindex2/cmarquee.htm

and then altered it to show href'd images instead of text. you can see the result of this at http://www.webdimensions.com.au

i was wondering if anyone knew how to alter the code to get a wrap around effect.

that is, so that when the last image scrolls through the first image is right behind it. at the moment, when the last image scrolls through, the marquee waits for it to get to the end of the div and then starts again, so if the marquee is across a 1024 px page, that's a long time to wait to see another image.

cheers,
wiklendt.

jscheuer1
06-23-2005, 09:10 AM
This link has what I think you are looking for:

Horizontal Continuous Content Marquee (http://home.comcast.net/~jscheuer1/side/marqueeh.htm)

While viewing it, right click and view the source to see the code.