[
   
[
     
 

how to do the lakey thingy


David Griffiths, bless his heart, invented the spectacular Lake Applet.  We will be forever in his debt.  David also has a helpful and entertaining place on the web. 
Go visit!  um.....Watch out for the cat




So.  How DO we make one of those groovy lake applets you see everywhere ?

Visit
David's site and see where it began. 
Then, visit Vipers' Pit to see how far it's come


Or, stay awhile.. and we'll make one of our very own :)

First: DOWNLOAD THE LAKE CLASS FILE HERE
Next: Find an image you'd like to use(not TOO big) that will work well with a reflection
Next: Upload the image and the Lake.class file to your server and make sure that the class file, image AND your html page are all in the same directory.

Now.. find out the height and width of your image. This one is width = 96 pixels, height = 180 pixels

Next : Cut and paste the following code, into the <body> of your document, REPLACING THE AREAS IN RED with your own details.

PLEASE NOTE : The height of this example is 180 pixels - You are aiming for a reflection, so the height in the code will need to be almost twice that. I've gone for 340 pixels as the height in this one, (you may need to play with this - if you get grey at the bottom, subtract 10 from the height until the image works)

 

<applet code=Lake.class id=Lake width=
height= "DOUBLE the height of your image
MINUS 20
" width= "width of your image">
<param name=image value= "nameofyourimage.jpg">
</applet>

YOU WANT IT IN A FRAME?

Same deal - replace the red areas with your own info :)

<div align="center"> <table border="2" cellspacing="0" cellpadding="0">
<tr><td><applet code=Lake.class id=Lake width="WIDTH OF YOUR IMAGE" height="DOUBLE THE HEIGHT OF YOUR IMAGE MINUS 20 (or whatever)"
<param name=image value= "NAME OF YOUR IMAGE">
</applet></td></tr></table></div>


now that we're flushed with success - shall we do a POOL APPLET ?


Click me for site map

[ HOME [ WEB HELP [ GRAPHICS & DESIGN [ KOALASTUFF [


views best in IE5+ or Opera - NS 4.7 may not interpret this page as intended, sorry.

All content, unless otherwise stated is original and © copyright koalaghost/imaginattic webworks 2001-2002
K
 
O
 
A
 
L
 
A
 
G
 
H
 
O
 
S
 
T
   
   
   
 
 
 
   
   
   
1