The Janim Applet Used In A Selectable Slide Show



Sample Applet parameters

Please note that Janim Version 3 uses a jar file instead of just the applet. Applet headers should be as shown below with your height and width settings.

This example code derived from one of Uncle Gus' slide show examples.
<center>
<table>
<tr><td>
<table>
<tr>
<td width="100" height="50" valign="top">
<img src="lake195.jpg" onmouseup="janim.setImageValue('lake195.jpg');" border="1" width="100" height="40"></td>
</tr><tr>
<td width="100" height="50" valign="top">
<img src="snow302.jpg" onmouseup="janim.setImageValue('snow302.jpg');" border="1" width="100" height="40"></td>
</tr><tr>
<td width="100" height="50" valign="top">
<img src="lake175.jpg" onmouseup="janim.setImageValue('lake175.jpg');" border="1" width="100" height="40"></td>
</tr><tr>
<td width="100" height="50" valign="top">
<img src="lake200.jpg" onmouseup="janim.setImageValue('lake200.jpg');" border="1" width="100" height="40"></td>
</tr><tr>
<td width="100" height="50" valign="top">
<img src="lakerain82.jpg" onmouseup="janim.setImageValue('lakerain82.jpg');" border="1" width="100" height="40"></td>
</tr><tr>
<td width="100" height="50" valign="top">
<img src="firewlak.jpg" onmouseup="janim.setImageValue('firewlak.jpg');" border="1" width="100" height="40"></td>
</tr>
</table>
</td><td>
<table>
<tr>
<td width=500>
<applet code="Janim3.class" archive="Janim.jar" name="janim" width="500" height="350" align="bottom" style="border-left: medium inset #C0C0C0; border-right: medium outset #000000; border-top: thin outset #C0C0C0; border-bottom: thin inset #808080">
<param name="image" value="lake200.jpg">
<param name="slide" value="1">
<param name="intensity" value="120">
<param name="wind" value="-3">
<param name="swind" value="0">
<param name="nameact" value="1">
</applet></td>
</tr>
</table>
</td></tr></table>
</center>


Note: With the parameter "nameact" set to a value of 1, Janim3 automatically adds the snow, rain or fireworks parameter to any image containing the word "snow", "rain" or "firew" in the name if the applet is registered. The "intensity" may be added to increase or decrease the density of the snow, rain, or fireworks display. Wind may be added to give velocity and direction to the rain and snow. Swind may be used to control the wind effect for snow if a different effect is preferred for snow and rain. See example above.


View examples from Uncle Gus' WABI Lake Applets.

Return to Main Page