I've attempted to run several of the "falling snow background" type scripts available at scriptmania. Just javascript, no jquery.
I'm puzzled by the fact that some of them work fine in IE, but fail to animate in FF, Chrome or Safari when the doctype is set to HTML5. The scripts do run in any of the above browsers when the doctype is set to HTML 4.0 Transitional.
Here are links to a couple of scripts that have this behavior:
http://rainbow.arch.scriptmania.com/scripts/bg/snow_fall.html
http://rainbow.arch.scriptmania.com/scripts/bg/autumn_fall_timeout.html
Any pointers as to what might be the root cause of the failures and/or fixes would be appreciated.
<!DOCTYPE html>and it works in Chrome.