Results 1 to 5 of 5

Thread: Fading scroller ?

  1. #1
    Join Date
    Mar 2006
    Posts
    10
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Fading scroller ?

    hello there, looking for a little help w/ this guy. i have it set up and running properly, works beautifully....but i'm wondering if there's a way i can eliminate the 1pxl black line that runs around the "scroller content box" and possibly change the boxes background color?
    Thanx for the help

  2. #2
    Join Date
    Jun 2005
    Location
    英国
    Posts
    11,876
    Thanks
    1
    Thanked 180 Times in 172 Posts
    Blog Entries
    2

    Default

    Warning: Please include a link to the DD script in question in your post. See this thread for the proper posting format for asking a question.
    Twey | I understand English | 日本語が分かります | mi jimpe fi le jbobau | mi esperanton komprenas | je comprends français | entiendo español | tôi ít hiểu tiếng Việt | ich verstehe ein bisschen Deutsch | beware XHTML | common coding mistakes | tutorials | various stuff | argh PHP!

  3. #3
    Join Date
    Mar 2006
    Posts
    10
    Thanks
    0
    Thanked 0 Times in 0 Posts

  4. #4
    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

    Here is where the content area is styled:

    Code:
    if (ie4||DOM2)
      document.write('<div id="fscroller" style="border:1px solid black;width:'+fwidth+';height:'+fheight+'"></div>');
    For example, I got a nice effect by changing it to:

    Code:
    if (ie4||DOM2)
      document.write('<div id="fscroller" style="background-color:lightblue;width:'+fwidth+';height:'+fheight+'"></div>');
    However, I then needed to discover the rgb value of the new background color and enter it here in the configuration as the start color:

    Code:
    var startcolor= new Array(117,216,230); // start color (red, green, blue)
    Then it looked pretty good!
    - John
    ________________________

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

  5. #5
    Join Date
    Mar 2006
    Posts
    10
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    sweet thanks much,
    i'd been through the code a few times trying to figure where the syles were set up, but i'm fairly in the dark w/ javascript and i missed it, just what i needed
    thanx

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
  •