Skip to content

Instantly share code, notes, and snippets.

@WillWang1989
Created March 29, 2013 07:23
Show Gist options
  • Save WillWang1989/5269274 to your computer and use it in GitHub Desktop.
Save WillWang1989/5269274 to your computer and use it in GitHub Desktop.
<!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
snowStorm.snowCharacter = '王保磊';
snowStorm.flakeWidth=100;
snowStorm.flakeHeight=100;
snowStorm.flakeSize=96;
</script>
</head>
<body style="background:#336699">
<h1 style="font-size:1em;color:#fff">Example SnowStorm page</h1>
<p style="font-size:1em;color:#fff">
</p>
<pre style="color:#99ccff">
</pre>
</body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment