Results 1 to 2 of 2

Thread: Fading Scroller

  1. #1
    Join Date
    Nov 2004
    Posts
    27
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Fading Scroller

    http://www.dynamicdrive.com/dynamici...fadescroll.htm

    OK I have a new question about this script. Is there any way to make the border disappear? I don't want the black line around the frame.
    Last edited by hooloovoo; 03-29-2005 at 06:21 PM.

  2. #2
    Join Date
    Aug 2004
    Posts
    10,143
    Thanks
    3
    Thanked 1,008 Times in 993 Posts
    Blog Entries
    16

    Default

    Simply edit the line:
    Code:
    if (ie4||DOM2)
    document.write('<div id="fscroller" style="border:1px solid black;width:'+fwidth+';height:'+fheight+'"></div>');
    so the 1px becomes 0 instead:
    Code:
    if (ie4||DOM2)
    document.write('<div id="fscroller" style="border:0 solid black;width:'+fwidth+';height:'+fheight+'"></div>');
    This removes the border, and when you want it back, just change 0 again.

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
  •