Results 1 to 6 of 6

Thread: HOw to change font color to white in marquee?

  1. #1
    Join Date
    Apr 2007
    Posts
    50
    Thanks
    6
    Thanked 0 Times in 0 Posts

    Question HOw to change font color to white in marquee?

    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?
    Thanks

  2. #2
    Join Date
    Feb 2008
    Location
    Cebu City Philippines
    Posts
    1,160
    Thanks
    17
    Thanked 277 Times in 275 Posts

    Default

    Just add color="#fffff" in the marqueecontent variable. Locate the <font face="Arial">
    Learn how to code at 02geek

    The more you learn, the more you'll realize there's much more to learn
    Ray.ph!

  3. #3
    Join Date
    Apr 2007
    Posts
    50
    Thanks
    6
    Thanked 0 Times in 0 Posts

    Default

    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?

  4. #4
    Join Date
    Feb 2008
    Location
    Cebu City Philippines
    Posts
    1,160
    Thanks
    17
    Thanked 277 Times in 275 Posts

    Default

    It should work...you might have deleted the '.
    Try this:
    Code:
    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
    Learn how to code at 02geek

    The more you learn, the more you'll realize there's much more to learn
    Ray.ph!

  5. #5
    Join Date
    Apr 2007
    Posts
    50
    Thanks
    6
    Thanked 0 Times in 0 Posts

    Default

    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.
    THANKS!

  6. #6
    Join Date
    Feb 2008
    Location
    Cebu City Philippines
    Posts
    1,160
    Thanks
    17
    Thanked 277 Times in 275 Posts

    Default

    You're welcome. Glad I could help
    Learn how to code at 02geek

    The more you learn, the more you'll realize there's much more to learn
    Ray.ph!

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •