PDA

View Full Version : Scroller Background Colour?



outofdarkness
08-11-2006, 12:59 PM
1) Script Title: Typing Scroller

2) Script URL (on DD): http://www.dynamicdrive.com/dynamicindex2/typescroll.htm

3) Describe problem: I have changed the background colour in the script and it works fine in Opera but it is still displaying as white in Firefox and IE.

document.write(' style="background-color:#ffffcc '+document.bgColor+'; color:

Can anybody point me in the right direction please? :confused:

jscheuer1
08-11-2006, 06:15 PM
Get rid of the red part:


document.write(' style="background-color:#ffffcc '+document.bgColor+'; color:

So that you have this:


document.write(' style="background-color:#ffffcc; color:

outofdarkness
08-11-2006, 06:48 PM
Thanks John, that's done the trick.

Your help is much appreciated :)

kidbratt91
04-25-2008, 02:05 AM
when i insert a second script of the same one, it doesnt work. I've read threw how to fix it, but it didnt work? any thoughts?

jscheuer1
04-25-2008, 03:50 PM
when i insert a second script of the same one, it doesnt work. I've read threw how to fix it, but it didnt work? any thoughts?

To have more than one typing event on a page, you need:

http://www.dynamicdrive.com/dynamicindex10/text5.htm

NOT the script in this thread.

If you need more help, Please start a new thread.