Tags: srizon/Snowstorm
Tags
V1.44.20131208 Added usePixelPosition to allow forcing of pixels for left/top positioning vs. percentage-based values. Detect and force pixel-based positioning if targetElement is specified, or body is relatively-positioned. Adjust positioning logic for targetElement case.
Snowstorm V1.41.20101113 * Added formal BSD license (project was previously "free for any use.") * Modernized event add/remove handlers, wait for window.onload() before starting * New excludeMobile option, ignore iPhone etc. by default (high CPU use on mobile is evil for both CPU, and batteries.) * New freezeOnBlur option, allow control of previously-hardcoded behaviour * Code cleanup, now passes updated (more-strict) jslint validation
snowstorm_20081215: * IE doctype rendering tweak: position:absolute used for "BackCompat" (eg. HTML 4 transitional) DOCTYPE in IE. * Fixed an annoying horizontal scrollbar positioning-related bug with wind affecting snow near the right edge.
snowstorm_20081208: * New snowStick (snow stickiness) and followMouse (dynamic wind) options. * Four years later, we still have IE 6 and can't use position:fixed globally for "sticky" snow, but we're really close. * Position:fixed used for all more modern browsers. * Improved distribution of initial snow dump, new recycling. * Focus/blur events (minus IE) for graceful pausing of snow, sparing user's CPU when window not in focus. * Bonus smashable christmas lights demo, using SoundManager 2 and YUI DOM/Event libraries * Cleaner, simplified event code, removal of old PNG wrapper stuff.
snowstorm_20041121a: * Script moved into one file (snowstorm.js) for simplicity * addEventHandler and PNG support functions updated
snowstorm_20031213a 1.2.20031213a * Netscape 6.x "sticky" snow behavior fixed (now works) * IE:mac bug event handler bug fixed (script should now work) * Snow collection feature added * Snowflake speed is relative to size (Cheap pseudo-3D effect)