The Janim Applet

Dual Overlays In Motion - Overlay paths may be reversed and images may be flipped horizontally.



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.
Measurements of Image used is: Width=Actual measurement. Height=2 x Actual measurement (may be reduced if gray area appears at the bottom of the applet)

<center>
<table border = 2>
<tr>
<td width=400>
<applet code="Janim3.class" archive="Janim.jar" width=400 height=365>
<param name="image" value="city.jpg">
<param name="overlay" value="hny.gif">
<param name="revovl" value="1">
<param name="motionX" value="3">
<param name="ovlY" value="50">
<param name="overlay1" value="ship1.gif">
<param name="ovl1ref" value="1">
<param name="motion1X" value="-1">
<param name="ovl1Y" value="163">
<param name="revovl1" value="1">
<param name="flipovl1" value="1">
<param name="fireworks" value="1">
// Note: Giving fireworks parameter value of 1 activates fireworks </applet></td></tr></table>
</center>
Note: When motion parameters are used, the corresponding position parameter is not necessary. For horizontal movement, motionX nullifies the need for ovlX. For vertical movement, motionY makes ovlY unnecessary.

This presentation uses flipovl and revovl. flipovl flips the overlay horizontally and revovl reverses the overlay to return on the same motion path in reverse. Using both flipovl and revovl causes the overlay to flip only on the return path



Return to Main Page