Please help with scroller!

They have: 46 posts

Joined: Dec 2000

I have written a cross browser scroller that scrolls from once edge of the browser window to the other. It works in IE, NS and NS6, but if the message is longer than the width of the window I get a scrollbar. I have tried everything I know to fix this, but to no effect.

See here:
http://ww.domaindlx.com/shinnathan/cdr.asp

The way I want to fix it is to add one letter at a time to the scroller, but I can't find a way to do that. I can spilt the message into letters and all that, but I can't find a way to update the layer or division.

I have tried things like:
document.one.value="something else"

(one being the name of my layer or division)
But I can't get any change in the message.

Please help... How do I change the text in a layer on the fly?

Mark Hensler's picture

He has: 4,048 posts

Joined: Aug 2000

read this:
http://webmaster-forums.com/showthread.php?threadid=13385

do that substring() thing and just change the innerHTML

Good Luck,

They have: 9 posts

Joined: Feb 2001

put your scrolling text in a separate frame with scrolling="No" attribute.

Want to join the discussion? Create an account or log in if you already have one. Joining is fast, free and painless! We’ll even whisk you back here when you’ve finished.