Results 1 to 2 of 2

Thread: [HELP] Falling snow - it wont fall down in FF

  1. #1
    Join Date
    Dec 2007
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default [HELP] Falling snow - it wont fall down in FF

    1) Script Title: Snow Effect

    2) Script URL (on DD): http://www.dynamicdrive.com/dynamicindex3/snow.htm

    3) Describe problem:

    I used the script from the above URL in my blog (blogger). Im using FF 2.
    The script works fine in IE but its not working fine in FF. I only edited the "snow.gif" to my image link.

    The image is stuck and wont fall down..





    Help needed 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

    Most likely your page has no true layout height. This can happen if there is a lot of absolute positioning and/or floated content. But the script can be set to use the height of the window in the configuration, do so here (change is in red):

    Code:
    <script type="text/javascript">
    
    /******************************************
    * Snow Effect Script- By Altan d.o.o. (http://www.altan.hr/snow/index.html)
    * Visit Dynamic Drive DHTML code library (http://www.dynamicdrive.com/) for full source code
    * Last updated Nov 9th, 05' by DD. This notice must stay intact for use
    ******************************************/
      
      //Configure below to change URL path to the snow image
      var snowsrc="snow.gif"
      // Configure below to change number of snow to render
      var no = 10;
      // Configure whether snow should disappear after x seconds (0=never):
      var hidesnowtime = 0;
      // Configure how much snow should drop down before fading ("windowheight" or "pageheight")
      var snowdistance = "windowheight";
    
    ///////////Stop Config//////////////////////////////////
    
      var ie4up = (documen . . .
    - 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
  •