PDA

View Full Version : Snow Effect



hitcher
11-01-2005, 04:49 PM
http://www.dynamicdrive.com/dynamicindex3/snow.htm

ok iam french sorry for my bad english

here is snow focntionne very well with IE6 but do not please function with firefox 1.07.
The image remains fixed under firefox. I believe to have an error in my page or then the format is not good but I do not find

here the address of my Web site.
http://easytuto.com/pages/snow.htm

Do my problem have to come from my page but or Can you help me?

Large a mercy in advance and cheer for your work

jscheuer1
11-01-2005, 05:04 PM
Your doctype isn't compatible with the script under FF. The script can be updated, find these lines (near the end of the script) and add the part in red to them:


else if (ns6up){
document.getElementById("dot"+i).style.top=yp[i]+'px';
document.getElementById("dot"+i).style.left=xp[i] + am[i]*Math.sin(dx[i])+'px';
}

hitcher
11-01-2005, 05:41 PM
A very large thank you for your assistance. That functions.http://smilies.sofrayt.com/%5E/g0/beer.gif