Log in

View Full Version : Continuous Scrolling Marquee



webjay
01-24-2008, 05:37 AM
Hey all. Hope someone can help me out here.

I'm looking for a script like the Cross Browser marquee (http://www.dynamicdrive.com/dynamicindex2/cmarquee.htm) on this site, but which has continuous scrolling functionality.

I.e., I want the first of the message to begin repeating on the right before the end of the message finishes on the left.

Thanks for reading.

jscheuer1
01-24-2008, 06:26 AM
http://home.comcast.net/~jscheuer1/side/marqueeh.htm

Use your browser's 'view source' to get the code.

webjay
01-24-2008, 07:22 AM
Super!

Exactly what I wanted. Thanks a bunch for the timely response.

DAF
02-20-2009, 09:55 PM
Great code. I have been looking to do this for ages and everyone was telling me it was impossible.

Is it possible to adapt the code in any way so that you do not have to define the width?

i.e. so that you can have it set to 100% width so no matter what the screen size it will fit across the entire page.

echo $username
02-05-2010, 03:03 AM
I'm also looking for a way to use this script with 100% width spanning the entire page. As editing the javascipt variable or the CSS property manually causes the layers to disappear completely I'm trying to find another solution.

I'm not very versatile with javascript but could the document width be obtained using 'document.body.clientWidth' or 'document.documentElement.*clientWidth' to provide a fixed pixel value so that code still functions correctly? ...or is there a way to adapt the code to work with a percentage attained width?

Thanks in advance, any help greatly appreciated.

jscheuer1
02-05-2010, 06:10 AM
Use:

http://www.dynamicdrive.com/dynamicindex2/crawler/index.htm

Any questions, please open a new thread.