PDA

View Full Version : [HELP] Falling snow - it wont fall down in FF



icycool1121
12-10-2007, 05:55 AM
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..

http://img339.imageshack.us/img339/7439/stuckts8.jpg

:confused::confused::confused:

Help needed :confused: Thanks in advance.

jscheuer1
12-10-2007, 07:53 AM
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):


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