Oh dear - no Java!!!!

The Lake Applet


I got the idea for this applet after seeing one called Beyond Photography. Definitely worth a visit.
Lake takes any gif or jpg and puts it behind a virtual lake. Like
Ripple the program has been deliberately kept very small and creates the frames of the animation on the browser machine, transferring only the original image across the Net. This ensures the animation starts reasonably quickly on the page.
Please feel free to to use this applet. This page and the necessary files are stored
here in zip format. Remember that if you unzip it with an old dos version of PKZIP, you may have to change the extension of the class file from lake.cla to lake.class. Newer versions that understand long extensions should have no problems.

How to use it


Lake needs a single parameter called "image" for the gif or jpg file containing the background.

Here's the code that creates the above:

 
<APPLET; CODE="lake;" width=251 height=260>
<param; name="image;" value="sunset.gif;">
</applet>
 
 


The image to the right is the one used in the animation. Please substitute your own logo etc..

NB: The sizing of the applet is important. The width should be the same as the width of the image, but the height should be set to twice the height of the image - 10. So if you have an image that is 200 pixels high, the applet should be (200 * 2) - 10 = 390 pixels high.

Shortening the image by 10 pixels ensures that a gap doesn't appear as the waves lap backwards and forwards.


Please sign the guestbook

You are visitor:

since 18th August, 1996


[
Search| Home| Screensavers| Visual Basic| Java]

For more information contact dgriffiths@msn.com

Last update: August 12, 1996