|
|
|
|
|
Home - Tips & Tutorials - JavaScript Demos - Java Applet Demos - Resources - Contact |
||
|
Original
Snow 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. You'll see to the right 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. For example, my image is 200x300 pixels. 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. |
<applet
code="snow" codebase="files/"
width=xxx height=xxx> Explanations: The parameter (param) 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 in my demo. 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"> |
|
| Formerly hosted at www.geocities.com/ramblingtutor/ |
Home - Tips & Tutorials - JavaScript Demos - Java Demos - Resources - Contact Webpage graphics by Arride Graphics
|
|