This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** @license | |
* DHTML Snowstorm! JavaScript-based Snow for web pages | |
* -------------------------------------------------------- | |
* Version 1.43.20111201 (Previous rev: 1.42.20111120) | |
* Copyright (c) 2007, Scott Schiller. All rights reserved. | |
* Code provided under the BSD License: | |
* http://schillmania.com/projects/snowstorm/license.txt | |
*/ | |
/*global window, document, navigator, clearInterval, setInterval */ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" | |
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> | |
<html> | |
<head> | |
<title>DHTML SnowStorm: Basic Example</title> | |
<script type="text/javascript" src="https://raw.github.com/Baolei1989/MyTest/master/snowstorm.js"></script> | |
<script type="text/javascript"> | |
snowStorm.snowColor = '#99ccff'; // blue-ish snow!? | |
snowStorm.flakesMaxActive = 96; // show more snow on screen at once | |
snowStorm.useTwinkleEffect = true; // let the snow flicker in and out of view |