AAArippleapplet
 
 

This tutorial is for the
Ripple Wave
Applet


Step #1
 
This applet is the ripple wave applet.  It produces more of a wave effect to the image.  Again, you can use whatever image you want, with little or no preparation to the image.  I would not use a border on the actual image since it would be subject to the ripple effect, but that is a personal preference.  You don't have to use a water image, i just like the effect of looking through glass at the underwater scenery.  The choice is yours and there are so many possibilities.  For this applet you will need the RippleApplet and Ripple class files.  You can find these along with a sniplet in the files section for the group at Yahoo.  I suggest that you upload these to the webshell instead of putting them into your folder.  The image can go in the folder as usual.   Once you have chosen your image and noted the size, you are ready for the script part of the applet.
 
Step #2
 
This is the script part of the applet.  I have highlighted the changes that you need to make in red below.  You can also change the value numbers to make the wave move faster, if you like.  However, when i was making this one, i noticed that if you went too fast, it pulled away from the top and bottom. 
 
For Webpages Use :
 
<APPLET code=RippleApplet.class width=400 height=260><PARAM NAME="initimage" VALUE="true"><PARAM NAME="nwaves" VALUE="1"><PARAM NAME="delay" VALUE="100"><PARAM NAME="frames" VALUE="20"><PARAM NAME="percent" VALUE="1"><PARAM NAME="image" VALUE="your website addy/image name.jpg"><PARAM NAME="imagemask" VALUE=""></APPLET>
 
For Stationerys Use :
 
** Notice the difference between the two applet codes.  You must use the codebase= in the applet tag for a stationery or the applet won't work.
 
<APPLET codebase ="your website addy/ " code=RippleApplet.class width=400 height=260>
<PARAM NAME="initimage" VALUE="true"><PARAM NAME="nwaves" VALUE="1"><PARAM NAME="delay" VALUE="100"><PARAM NAME="frames" VALUE="20">
<PARAM NAME="percent" VALUE="1"><PARAM NAME="image" VALUE="your website addy/image name.jpg"><PARAM NAME="imagemask" VALUE="">
</APPLET>
 
That is all there is to it.  I hope that you have no problems putting this applet together. 
As always, if you should have a problem, don't hesitate to ask Karen, Shari or any of the other group members for assistance.
 
The music was provided once again by NormaJean.  Thanks so much, Norma, it is perfect.
 
Hugs,
 
Karen
 

 
 

Copyright İMarch, 1998
All Rights Reserved.