PDA

View Full Version : Modifying a Scroller Script


mike8104
11-01-2002, 01:02 AM
http://www.javascriptkit.com/script/script2/typetext.shtml

The script located there works almost perfect for my needs, I'm just wondering if there is any way it could be modified so that the text scrolls through a div layer or something transparent like that? Even using CSS to customize the textarea it just doesn't fit quite right as it is...

Thanks in advance!
Mike

Beck
11-01-2002, 01:56 AM
I guess it's time for a contribution to the forum...

This might work, but it's a little modified. It's now called onLoad instead of after the function is defined. Main thing is, I stuck it in a paragraph tag and referenced its ID. I doubt it works in netscape, and would love to get someone else's input on that!

Good luck

Beck
11-01-2002, 01:57 AM
I might wanna actually attach that code i just bragged about, huh? :)

Here it is...

mike8104
11-01-2002, 03:07 AM
that works great!

I made a few modifications, moved the script into an external file etc..
I also made the text come out in a div layer

<div id="news"></div>

This may make it work in NS, I haven't been able to check yet, its worth experimenting with though

thanks again!

Beck
11-02-2002, 04:22 AM
Hey, if you happen to get that working in netscape, assuming it requires additional code for cross browser functionality, let me know, okay? Just post it!

Thanks in Advance.