Results 1 to 2 of 2

Thread: Fading message scroller FF1+ IE5+ Opr7+ - HELP NEEDED

  1. #1
    Join Date
    Jul 2005
    Posts
    21
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Fading message scroller FF1+ IE5+ Opr7+ - HELP NEEDED

    I have a black Background.

    How do I change the text to White?

    it can be viewed here: http://xposuregroup.co.uk/html/about_us.html
    Last edited by Xposure; 03-01-2006 at 11:52 AM.

  2. #2
    Join Date
    Mar 2005
    Location
    SE PA USA
    Posts
    30,495
    Thanks
    82
    Thanked 3,449 Times in 3,410 Posts
    Blog Entries
    12

    Default

    Where you have this:

    Code:
    var startcolor= new Array(255,255,255); // start color (whie, green, white)
    var endcolor=new Array(0,0,0); // end color (white, green, white)
    The green parts are just comments, they probably and should read in the demo thus:

    Code:
    // start color (red, green, blue)
    // end color (red, green, blue)
    They are just instructions, telling you what the red values do. In this case that is start out with red, green and blue at 255 (this results in a starting color of white) and end with a all three at zero (this is the color black). To start black and fade to white, just reverse them:

    Code:
    var startcolor= new Array(0,0,0); // start color (red, green, blue)
    var endcolor=new Array(255,255,255); // end color (red, green, blue)
    - John
    ________________________

    Show Additional Thanks: International Rescue Committee - Donate or: The Ocean Conservancy - Donate or: PayPal - Donate

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
  •