This is a simple Addon for the forums which will give the effect of snow falling throughout the forums or only on a specified page. It is very nice for the holiday season or just for looks
Installation:
First Step. Download THIS and upload the snow.js to your forums root directory via FTP.
(you can also edit the snow.js to change, speed & amount of snow that falls. I will show you later.)
Second Step: Go to ADMIN CP > STYLE MANGER > choose your default skin> All style options > HEADER
In the "header" box add this code:
Code:
<!-- Start Snow For Christmas Code -->
<script type="text/javascript" src="snow.js"></script>
<!-- End Snow For Christmas Code -->
The code above is used for snowing all around the forum. If you would only want one page such as your forum homepage, go to Search Templates>search text>FORUMHOME>Search titles (mark as yes)>edit the template and place under <head>:
Code:
<!-- Start Snow For Christmas Code -->
<script type="text/javascript" src="snow.js"></script>
<!-- End Snow For Christmas Code -->
If you would like to remove the snow effects, change the template code to this:
Code:
<!-- Start Snow For Christmas Code -->
<!-- <script type="text/javascript" src="snow.js"></script> -->
<!-- End Snow For Christmas Code -->
OR just delete the text from your templates.
Changing Speed And Amount Of Flakes:
If you want to change the speed, edit the following:
save your script
open it
edit where it says:
Code:
var num =X; //Number of flakes
var timer = X; //setTimeout speed. Varies on different comps
Where the "X" is, is where you edit the number to whichever you'd like.
Enjoy!