View Full Version : HOw to change font color to white in marquee?

02-21-2008, 03:30 AM
1) Script Title: Cross Browser Marquee

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

3) Describe problem:
Works fine, but how do I code it to change the font color to white? Where do I put #fffff? I know it is wrapped with <font> </font>..right?

02-21-2008, 03:48 AM
Just add color="#fffff" in the marqueecontent variable. Locate the <font face="Arial">:D

02-21-2008, 12:53 PM
thanks but now I can't get it to work with just the plain text. I'm removing all of the text content and adding something like: Thanks for visiting so and so site. I'm putting it in a blog. Will it not work if I Remove the Dynamic Drive link outta the marquee text?

02-22-2008, 01:27 AM
It should work...you might have deleted the '.
Try this:

var marqueecontent='<nobr><font face="Arial">Thank you for visiting <a href="myblog.com">This is our Blog</a>. Another text here </font></nobr>'

See if it helps :D

02-22-2008, 12:05 PM
I got it working. It was odd. I had to make all of the adjustments, text/color/speed at once and repaste the entire code into a new page element or it wouldn't take it.
I couldn't do one at a time.
But, it is great.

02-23-2008, 01:29 AM
You're welcome. Glad I could help:D