Unofficial Tips and Tutorials for Homestead SiteBuilder™ Users


Home - Tips & Tutorials - JavaScript Demos - Java Applet Demos - Resources - Contact

The Original Lake Applet
by David Griffiths >>>

David Griffiths' website, www.spigots.com, is unavailable. You can obtain the necessary files for this applet from 1Archive.com. David included an extensive tutorial in the zip file which explains all of the parameters, contains demos, and includes a few photographs that he used for the demos.

The applet itself is pretty simple like the one for his original snow applet. Nothing too complicated here. I've used a photograph from FreeFoto.com in my demo.

The photograph's real dimensions are 125 pixels wide by 83 pixels high. In order for the applet to work properly and show the shimmering lake effect, calculate double the height of the image and use that for the height of the applet. In the example above, it's 166 (83x2).

Other parameters available to this applet is the option of putting in an overlay image, which is another image on top of the background image, and an underwater view. David explains all that in his "read me" tutorial.

Be sure to upload all of the files to your Files Directory: the .class file and all images you use.

Here's the code for this applet to use with SiteBuilder. Items in red type are what you need to change for your image.

<applet code=lake name=lake1 codebase="files/" width=125 height=166>
<param name=image value="files/ima14.jpg">
</applet>

Formerly hosted at
www.geocities.com/ramblingtutor/

Home - Tips & Tutorials - JavaScript Demos - Java Demos - Resources - Contact

Webpage graphics by Arride Graphics
Copyright © 2000- Rambling Tutor and JanetS
All Rights Reserved
All other copyrights belong to their respective owners as noted.


Plus 260 visitors before joining Site Meter on June 11, 2001