Results 1 to 3 of 3

Thread: Fading Scroller Script

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

    Default Fading Scroller Script

    http://dynamicdrive.com/dynamicindex2/fadescroll.htm

    Hello, I am trying to customize this script to make it fit well on my website. There is one thing I can't figure out: how do you remove the black box around the fading message? Is there a way?

    Thank you! JM

  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

    Look down near the end of the script, you will see this:

    Code:
    if (ie4||DOM2)
      document.write('<div id="fscroller" style="border:1px solid black;width:'+fwidth+';height:'+fheight+'"></div>');
    The green and red part (highlights added) sets the style for the containing division. Some parts are variables but the border (red part) is a literal. You can change it to 0px but that might mess things up. Try that first anyway, especially if you want it to appear as no border. If that causes a problem, you change the part that says black to whatever color you like.
    - John
    ________________________

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

  3. #3
    Join Date
    Nov 2005
    Posts
    5
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Thank You!!!

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
  •