The Janim Applet

Janim Version 3 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.

<applet code="Janim3.class" archive="Janim.jar" width=500 height=350>

Width=actual width of image Height=actual height of image x 2 (May be reduced if gray shows at the bottom of the applet or if you prefer a shorter reflection. If you're using the "snow" parameter with a lake reflection, it's best to shorten the height by at least 15 pixels from double height. Otherwise, snow appears to reflect in the lake at the bottom.)

Note: Most parameters have a default value which is used by the applet unless another parameter value is passed to the applet in the parameters section. When the default value is appropriate, you do not need to use the parameter.

Image Parameters

image <param name="image" value="imagename.xxx"> The first image to load. May be animated GIF. This image is the main image and is required in all presentations. Example
image1 <param name="image1" value="imagename.xxx"> The second image to load if multiple images are to be rotated. Example
image2 <param name="image2" value="imagename.xxx">The third image to load if multiple images are to be rotated. Example
image3 <param name="image3" value="imagename.xxx">The fourth image to load if multiple images are to be rotated.(Registered version only) Example
image4 <param name="image4" value="imagename.xxx">The fifth image to load if multiple images are to be rotated (Registered version only) Example
image5 <param name="image5" value="imagename.xxx">The sixth image to load if multiple images are to be rotated (Registered version only) Example
imagea <param name="imagea" value="imagename.xxx">The image to be shown when clicking on the applet. It may be an animated GIF or just a static image but should be the same size as the main image. When in use, renders the link parameter inactive.(Registered version only) Example
Overlay Parameters
Note: When speaking of overlays with the Janim applet, there are four overlays which are addressed as overlay, overlay1, overlay2 and backovl. This section outlines the parameters for each.
overlay <param name="overlay" value="imagename.xxx">The GIF image to be displayed over the applet. May be animated GIF.
ovlref <param name="ovlref" value="x">Controls reflection of the overlay in the waves. Value 0 - 2.   0 = overlay only with no reflection. 1 = overlay and reflection. 2 = reflection of overlay only.
ovlfront <param name="ovlfront" value="x">Given a value of 1 will force the overlay to be displayed in front of falling snow instead of behind with the rest of the images. Default value 0.
ovlX <param name="ovlX" value="xxx">The distance in pixels of the top left corner of the overlay horizontally from the left side of the image.
ovlY <param name="ovlY" value="xxx">The distance in pixels of the top left corner of the overlay vertically from the top of the image.
motionX <param name="motionX" value="x">The distance in pixels to move the overlay horizontally with each cycle. Positive values move left to right. Use a minus(-) sign in front of the value to move right to left. Recommended values are 1 to 5 and -5 to -1
motionY <param name="motionY" value="x">The distance in pixels to move the overlay vertically with each cycle. Positive values move top to bottom. Use a minus(-) sign in front of the value to move bottom to top. Recommended values are 1 to 5 and -5 to -1
revovl <param name="revovl" value="x">This parameter, given a value of 1 will reverse the motion of overlay at the end of it's cycle and return it along the initial path.
flipovl <param name="flipovl" value="x">With a value of 1, flips the overlay horizontally. When used with revovl, will only flip the overlay on the return cycle.
overlaya-overlayg<param name="overlaya" value="overlayname.xxx">Up to 8 separate images may be rotated in place of an animated GIF as the overlay. When an animated GIF flickers, it may be separated and loaded as separate images. Overlay images would begin with the first as overlay, then overlaya, overlayb, overlayc, etc.
delay <param name="delay" value="xx">The delay in applet cycles before changing frames defined by overlay when using separate frames instead of an animated GIF.
Overlay1 Parameters (second overlay)
overlay1 <param name="overlay1" value="imagename.xxx">The second GIF image (overlay1) to be displayed over the applet. May be animated GIF.
ovl1ref <param name="ovl1ref" value="x">Controls reflection of the second overlay (overlay1) in the waves. Value 0 - 2.   0 = overlay only with no reflection. 1 = overlay and reflection. 2 = reflection of overlay only.
ovl1front <param name="ovl1front" value="x">Given a value of 1 will force the overlay1 to be displayed in front of falling snow instead of behind with the rest of the images. Default value 0.
ovl1X <param name="ovl1X" value="xxx">The distance in pixels of the top left corner of the second overlay (overlay1) horizontally from the left side of the image.
ovl1Y <param name="ovl1Y" value="xxx">The distance in pixels of the top left corner of the second overlay (overlay1) vertically from the top of the image.
motion1X <param name="motion1X" value="x">The distance in pixels to move the second overlay (overlay1) horizontally with each cycle. Positive values move left to right. Use a minus(-) sign in front of the value to move right to left. Recommended values are 1 to 5 and -5 to -1
motion1Y <param name="motion1Y" value="x">The distance in pixels to move the second overlay (overlay1) vertically with each cycle. Positive values move top to bottom. Use a minus(-) sign in front of the value to move bottom to top. Recommended values are 1 to 5 and -5 to -1
revovl1 <param name="revovl1" value="x">This parameter, given a value of 1 will reverse the motion of overlay1 at the end of it's cycle and return it along the initial path.
flipovl1 <param name="flipovl1" value="x">With a value of 1, flips the overlay1 horizontally. When used with revovl1, will only flip the overlay1 on the return cycle.
ovl1top <param name="ovl1top" value="x">Given a value of 1, forces overlay1 to display in front of overlay if their paths should cross. By default, overlay will display on top of overlay1.
overlay1a-overlay1g<param name="overlay1a" value="overlay1name.xxx">Up to 8 separate images may be rotated in place of an animated GIF as the overlay. When an animated GIF flickers, it may be separated and loaded as separate images. Overlay images would begin with the first as overlay1, then overlay1a, overlay1b, overlay1c, etc.
delay1 <param name="delay1" value="xx">The delay in applet cycles before changing frames defined by overlay1 when using separate frames instead of an animated GIF.
Additional Overlay Parameters
alt <param name="alt" value="x">Alternates the overlay motions if more than one overlay is used in motion. Given a value of 1, this causes the first overlay to complete a motion cycle before the second (overlay1) begins. The second must then complete it's motion before the first will return.
overlay2 <param name="overlay2" value="overlay2name.xxx">The static GIF image (overlay2) to be displayed over the applet. May be animated GIF but no motion parameters like overlay and overlay1. Use of overlay2 when an overlay does not need to move leaves the other overlays available for motion.
ovl2ref <param name="ovl2ref" value="x">Controls reflection of the static overlay (overlay2) in the waves. Value 0 - 2.   0 = overlay only with no reflection. 1 = overlay and reflection. 2 = reflection of overlay only.
ovl2front <param name="ovl2front" value="x">Given a value of 1 will force the overlay2 to be displayed in front of falling snow, rain or fireworks instead of behind with the rest of the images. Default value 0.
ovl2X <param name="ovl2X" value="xxx">The distance in pixels of the top left corner of the static overlay (overlay2) horizontally from the left side of the image.
ovl2Y <param name="ovl2Y" value="xxx">The distance in pixels of the top left corner of the static overlay (overlay2) vertically from the top of the image.
backovl <param name="backovl" value="backovlname.xxx">The GIF image (backovl) to be displayed over the hidden, or back page (imagea) of the applet. May be animated GIF but no motion parameters like overlay and overlay1. May be used only when using imagea (back image) parameter. (Registered version only)
bovlX <param name="bovlX" value="xxx">The distance in pixels of the top left corner of the back image overlay (backovl) horizontally from the left side of the back image.
bovlY <param name="bovlY" value="xxx">The distance in pixels of the top left corner of the back image overlay (backovl) vertically from the top of the back image.
Additional Image and Lake effect Parameters
reg1 <param name="reg1" value="xxxxxxx" (your regcode)>Activated Registration code for full featured applet use.
link <param name="link" value="http://www.sitename.com">The URL to which the user is directed upon a mouse click. May be activated only if imagea (back image) parameter is not used. (Registered version only)
target <param name="target" value="_self">The frame in which to open the URL used with the link parameter. The default = _self, which opens the link in the present window. <param name="target" value="display"> will open the link in a new browser window.
notop <param name="notop" value="x">Given a value of "1", displays the reflection only, not the original image
nobot <param name="nobot" value="x">Given a value of "1", displays the image only with no reflection
rotation <param name="rotation" value="xx">The speed of the rotation of the top images. Value 1 (fast) to 10 (slow) Default = 4. Example  Example
xlrot <param name="xlrot" value="xx">A multiplier for the rotation parameter. Allows long rotation times for slide shows, etc. Value = 1 - ? Default = 1. See "nameact" below in the Advanced Parameters section for special slide show effects.
wsize <param name="wsize" value="xx">Allows modification (Stretching or compressing) of wave size. Value -50 to 50. Default = -30
wspeed <param name="wspeed" value="xx">Controls the speed of the wave animation. Value 1 - 100. Default = 40
rate <param name="rate" value="xx">Affects Speed of all animation within the applet, most visible with snowfall speed. Value 1 - 100. Default = 50
horizon <param name="horizon" value="xxx">Allows the portion of the image below this pixel measurement to be rippled. Especially useful if an image already contains a lake or stream. Value 1 to ? (depending on image height) Will accept any value greater than 0. Overlay reflections are not available with this parameter since it is part of the image that is rippling, not a reflection. Depending on the size of the images used, there may be issues with flickering when using dual overlays with the horizon parameter.
cover <param name="cover" value="x">Given a value of "1", will open the applet on the static image to be clicked to display the animation or slide show.
All Snow Parameters - Registered Version Only
snow <param name="snow" value="x"> Given a value of "1" adds snow to the applet presentation. Any image parameter containing "snow" in the name will automatically activate the snow feature without adding the parameter.
intensity <param name="intensity" value="xxx">A shared parameter between snow, fireworks and rain. The intensity of the snow fall. Value 0 to ? (depending on image width) Default = 50 (light).
wind <param name="wind" value="x"> A shared parameter between snow and rain. The direction and velocity of the wind affecting the snow fall. Value -5 (Negative values - right to left) to 5 (Positive values - left to right) Default = 1 (light breeze). Recommended values are -3 to 3. Results outside of this range may not be acceptable with snow.
All Rain Parameters - Registered Version Only
rain <param name="rain" value="x"> Given a value of "1" adds rain to the applet presentation. Any image parameter containing "rain" in the name will automatically activate the rain feature without adding the parameter.
intensity <param name="intensity" value="xxx">A shared parameter between snow, fireworks and rain. The intensity of the rain fall. Value 0 to ? (depending on image width) Default = 50 (light).
wind <param name="wind" value="x"> A shared parameter between snow and rain. The direction and velocity of the wind affecting the rain fall. Value -5 (Negative values - right to left) to 5 (Positive values - left to right) Default = 1 (light breeze).
All Fireworks Parameters - Registered Version Only
fireworks <param name="fireworks" value="x"> Given a value of "1" adds fireworks to the applet presentation. Any image parameter containing "firew" in the name will automatically activate the fireworks feature without adding the parameter.
intensity <param name="intensity" value="xxx">A shared parameter between snow, fireworks and rain. The intensity of the fireworks display. Value 0 to 255 Default = 50 (light).
lowF <param name="lowF" value="xxx">The lowest point in pixels from the top of the image for the fireworks to originate, to prevent fireworks in unwanted image areas. Default = 150.
Soundtrack <param name="Soundtrack" value="soundfile.xxx">The sound file to play in coordination with the fireworks explosions. Default = Fireworks.au if it is in the same directory as the applet.
Fpower <param name="Fpower" value="xxx">The most powerful explosion desired in the display. The higher the value, the farther from center the explosion is carried. Value = 1 to 1000. Default = 600.
Ftrail <param name="Ftrail" value="xxx">The maximum length of the explosion embers. The higher the value, the longer time embers are visible. Value 0 to 255 Default = 60.
Fsound <param name="Fsound" value="x">Turn fireworks sound on or off. Values: 1 = on, 0 = off. Default = 1 (on).
Fgravity <param name="Fgravity" value="xxx">The gravitational pull on the fireworks display. Value 1 to 1000 Default = 300.
Scrolling Text Parameters
Tfile <param name="Tfile" value="filename.txt">The text file containing the text to be scolled. No wordwrap. Lines must be separated in the file by "|".
Tsize <param name="Tsize" value="xx">The desired height in pixels of the text. Default = 30.
Tstyle <param name="Tstyle" value="x">The desired style of the text. 0 = Standard, 1 = Italics, 2 = bold, 3 = bold italics (default = 0)
Tfont <param name="Tfont" value="Helvetica">The Preferred font ie. "Times New Roman" (default), "Helvetica", "Courier".
Tspeed <param name="Tspeed" value="x">The Scroll speed in pixels per cycle (default = 2).
Tcolor <param name="Tcolor" value="xxxxxx">Color in Hexadecimal 000000 - ffffff (Default = white (ffffff)). 000000=black, 0000ff= blue, 00ff00=green, 00ffff=turquoise, ff0000=red, ff00ff=purple, ffff00=yellow, ffffff=white.
Talign <param name="Talign" value="xxx">The text alignment over the image. 0 = each line centered. Values > 0 = pixels from left (left alignment) Default = 0.
Tback <param name="Tback" value="x">Registered Version Only. Determines whether text scrolls over the main image or the back or cover image. 0 = Scroll text over main image. 1 = scroll text on back (or cover) image. Default = 0.
Advanced Parameters
slide <param name="slide" value="x">Given a value of 1 tells the applet that it is to be used in the javascript slide show configuration. Values 0 - 1. Default = 0 (No slide show). See "nameact" below for special slide show effects.
nameact <param name="nameact" value="x">In the registered version, given a value of 1 tells the applet to automatically activate snow, rain and fireworks if the image names contain "snow" "rain" or "firew" respectively without having to add the parameter.
swind <param name="swind" value="x">Allows for separate control of wind effect on snow in the slide show mode where a different wind effect may be desired for snow and rain. Overrides the wind parameter for snow if both wind and swind are used. The direction and velocity of the wind affecting the snow fall. Value -5 (Negative values - right to left) to 5 (Positive values - left to right). Recommended values are -3 to 3. Results outside of this range may not be acceptable with snow. If swind is not used, the value of wind will be used for snow and rain. Default = ("wind" value) See "wind" under rain parameters.

All images should be the same size and in either GIF or JPEG format. They may be mixed GIFs and JPEGs. Overlays may be smaller. Use only the parameters you need. A parameter listed with no value may prevent the applet from executing.


Return to Main Page