Results 1 to 2 of 2

Thread: text defilant

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

    Default text defilant

    HI


    I have to finish to program a javascript for my website, ans I have a probleme whith the color.
    In fact, this color of backgound is normly #FB0B0C, ( FF is OK) but with IE and opera, and it isn't the same color.

    Loock at the test on: www.qrvevey.ch/qr
    I dont know well the javscript, by the way I changed in css, but there is no changment, please help me.
    I supose that the problem is in the fonction BGfade, that i don't matrise.

    david



  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

    Try changing:

    Code:
     		tickerobject.backgroundColor= Math.floor(sred * spct + ered * epct)*256*256 + Math.floor(sgrn * spct + egrn * epct)*256 + Math.floor(sblu * spct + eblu * epct);
    to:

    Code:
     		tickerobject.backgroundColor= 'red'
    - 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
  •