PDA

View Full Version : Need Help with Fading scroller



drgrisanti
03-01-2006, 05:24 PM
I just installed the HTML for the Fading scroller and would like to eliminate the box around the text. I played around with the HTML and this is what I finally
came up with.

http://www.allaboutanxiety.net

You will notice a small black text in the scroller area.
How do I get rid of that small black text?

Also is there a way to add "background" color?

Here is the URL for the Fading Scroller
http://www.dynamicdrive.com/dynamicindex2/fadescroll.htm

Appreciate anyone's help.

Thanks.

Ron
www.YourMedicalDetective.com

ddadmin
03-02-2006, 02:24 PM
Hmmm I don't see any "small black text."...

Regarding the 2nd question, just locate the code:


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

and add a CSS background attribute, such as:


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

where nice.gif is the path to your background image.