View Full Version : Fading scroller ?

04-03-2006, 07:44 PM
hello there, looking for a little help w/ this guy. i have it set up and running properly, works beautifully....but i'm wondering if there's a way i can eliminate the 1pxl black line that runs around the "scroller content box" and possibly change the boxes background color?
Thanx for the help

04-03-2006, 07:58 PM

04-04-2006, 08:38 AM
sorry forgot my link

04-04-2006, 09:11 AM
Here is where the content area is styled:

if (ie4||DOM2)
document.write('<div id="fscroller" style="border:1px solid black;width:'+fwidth+';height:'+fheight+'"></div>');

For example, I got a nice effect by changing it to:

if (ie4||DOM2)
document.write('<div id="fscroller" style="background-color:lightblue;width:'+fwidth+';height:'+fheight+'"></div>');

However, I then needed to discover the rgb value of the new background color and enter it here in the configuration as the start color:

var startcolor= new Array(117,216,230); // start color (red, green, blue)

Then it looked pretty good!

04-05-2006, 07:12 PM
sweet thanks much,
i'd been through the code a few times trying to figure where the syles were set up, but i'm fairly in the dark w/ javascript and i missed it, just what i needed