Unofficial Tips and Tutorials for Homestead SiteBuilder� Users  
Original Snow Applet
by David Griffiths

Photo by
freefoto.com

<applet code="snow" codebase="files/" width=xxx height=xxx>
<param name=image value="files/image.jpg">
<param name=strength value=1>
</applet>

David Griffiths' Original Snow Applet requires only one image file and one class file.This applet demo uses an image file from freefoto.com. Your image can be .gif or .jpg.

He closed his web site, www.spigots.com, a few years ago to pursue other projects. Since I do not have permission to offer the files, I searched for other sites offering it. At the time I searched, there wasn't a site taking over distributing this great applet. But recently I found a reliable source at CodeBrain. Go there to download the applet files.

Also, I found a similar applet at JavaPowered called a Snowy Applet. Two files and a short code. You can use that in place of this one, if you want, but there is nothing like the original.

Below the applet is the adjusted code which is entered in the Insert HTML element:

Once you've finished entering the code in the HTML element, resize the element to the width and height you entered in the code.  Place the element where you want it to appear on your page.

Make sure you upload your image and the snow.class file to your Files Manager.  Otherwise, you won't have a working applet - all you'll see is a gray box.

Explanations:

The parameter of strength/ value is how strong of a snowstorm you want. Use any value from 1 to 10. A value of 1 is light. A value of 10 is the strongest. I used 1.

If you want the image to link to a page, add this line after the 1st <param name> statement and before the </applet>  statement:

<param name=href value="theurl.html">

If you want the linked image to go to a frame, add this line to the code after the link param and before the </applet> tag:

<param name=target value="thenewframe">

Please close this window to return to the Applet Index page.

Home - Tips & Tutorials - JavaScript Demos - Java Applet Demos - Resources - Search - Contact
Webpage graphics by Arride Graphics

Copyright � 2000-2006 The Rambling Tutor and JanetS  All Rights Reserved
All other copyrights belong to their respective owners as noted.

Hosted by www.Geocities.ws

1