Results 1 to 2 of 2

Thread: Elastic Trail Script Fix for Firefox??

  1. #1
    Join Date
    Apr 2011
    Posts
    1
    Thanks
    1
    Thanked 0 Times in 0 Posts

    Default Elastic Trail Script Fix for Firefox??

    1) Script Title: Elastic Trail Script

    2) Script URL (on DD):
    http://dynamicdrive.com/dynamicindex13/trailer2.htm

    3) Describe problem:
    Does anyone know how to get this to work with Firefox? I'm trying to make a "glitter trail" and this script works GREAT for it, but not in firefox I tried using the image trail script instead but it just doesnt look as nice. Any help would be HUGELY appreciated!!
    Thanks in advance!!

  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

    A lot of folks would say that the fix is to delete the script. Nowadays, I might agree. However, there was a time . . .

    Anyways, I found this in my archives. The script is now external (right click and 'save as'):

    Attachment 3855

    Here's an example page using it. Notice the highlighted stylesheet. It's required, but can be external and/or added to an existing sheet for the page:

    Code:
    <!DOCTYPE html>
    <html>
    <head>
    <title>Elastic Trail Script</title>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
    <style type="text/css">
    .dot {
    position: fixed;
    }
    #dot0 {
    visibility: hidden;
    }
    </style>
    </head>
    <body>
    <script type="text/javascript" src="elastic_trail.js">
    /*
    Elastic Trail script (By Philip Winston @ pwinston@yahoo.com, URL: http://www.geocities.com/pwinston/)
    TOS featured on Dynamicdrive.com
    For this and 100's more DHTML scripts, visit http://dynamicdrive.com
    Updated by jscheuer1 in http://dynamicdrive.com/forums for modern browsers & DOCTYPES
    Originally and still good in IE5+, early Netscape
    */
    </script>
    
    <p>Hey</p>
    <p>Hey</p>
    <p>Hey</p>
    <p>Hey</p>
    <p>Hey</p>
    <p>Hey</p>
    <p>Hey</p>
    <p>Hey</p>
    <p>Hey</p>
    <p>Hey</p>
    <p>Hey</p>
    <p>Hey</p>
    <p>Hey</p>
    <p>Hey</p>
    <p>Hey</p>
    <p>Hey</p>
    <p>Hey</p>
    <p>Hey</p>
    <p>Hey</p>
    <p>Hey</p>
    <p>Hey</p>
    <p>Hey</p>
    <p>Hey</p>
    <p>Hey</p>
    <p>Hey</p>
    <p>Hey</p>
    <p>Hey</p>
    <p>Hey</p>
    <p>Hey</p>
    <p>Hey</p>
    <p>Hey</p>
    <p>Hey</p>
    <p>Hey</p>
    <p>Hey</p>
    <p>Hey</p>
    <p>Hey</p>
    <p>Hey</p>
    <p>Hey</p>
    <p>Hey</p>
    <p>Hey</p>
    <p>Hey</p>
    <p>Hey</p>
    <p>Hey</p>
    <p>Hey</p>
    <p>Hey</p>
    <p>Hey</p>
    <p>Hey</p>
    <p>Hey</p>
    <p>Hey</p>
    <p>Hey</p>
    </body>
    </html>
    Note: Although the stylesheet uses position: fixed; the script will detect IE versions that don't support that and will compensate accordingly.
    - John
    ________________________

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

  3. The Following User Says Thank You to jscheuer1 For This Useful Post:

    DobieDiva (04-19-2011)

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
  •