PDA

View Full Version : Fading Scroller



hooloovoo
03-29-2005, 06:19 PM
http://www.dynamicdrive.com/dynamicindex2/fadescroll.htm

OK I have a new question about this script. Is there any way to make the border disappear? I don't want the black line around the frame.

ddadmin
03-29-2005, 07:03 PM
Simply edit the line:

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

so the 1px becomes 0 instead:

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

This removes the border, and when you want it back, just change 0 again.