• View our reviews on Hot Scripts
  • JS Tutorial

Recent Comments

Powered by Disqus

Back to articles

Javascript snow for your website to create Christmas atmosphere

Here is a nice javascript Snow to add Christmas atmosphere to your website. You can manage snow flake graphic, speed, amplitude etc. Easy to implement and it looks really nice.

You can download latest version from JavaScript Display snow flakes falling on the Web page

An here is how to implement it to your website:

<script type="text/javascript" src="BD_snow.js" ></script>
<script type="text/javascript">
BD_snow.config= {
    /// additional configuration options
    /// all active(not commented out) options have to be separated with commas
    /// following lines are optional
     graphic: 'snow2.gif' //Snow-graphic
    ,altsymbol: '*' // if no graphic is given
    ,altsymbolcolor: '#dddddd' // font-color if no graphic is given
    ,altsymbolsize: 24 // font-size if no graphic is given
    ,amplitude: 20 // left-right-moving amplitude
    ,interval: 2 //time-distance of new snow (+/- random time)
    ,speed: 50 //speed: higher value = slower speed
    ,snowontop: true // snow moves over the webcontent

You may also be interested in:

Powered by

blog comments powered by Disqus