View Full Version : Fading Scroller Script

11-13-2005, 05:56 PM

Hello, I am trying to customize this script to make it fit well on my website. There is one thing I can't figure out: how do you remove the black box around the fading message? Is there a way?

Thank you! JM

11-13-2005, 06:58 PM
Look down near the end of the script, you will see this:

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

The green and red part (highlights added) sets the style for the containing division. Some parts are variables but the border (red part) is a literal. You can change it to 0px but that might mess things up. Try that first anyway, especially if you want it to appear as no border. If that causes a problem, you change the part that says black to whatever color you like.

11-13-2005, 07:40 PM
Thank You!!! :) :)