LVHues Readme

lvhues applet 3.0 - by Cromoteca

lvhues is an applet that shows an image changing its hue continuously. Note that is convenient to set the applet dimensions equal to the image dimensions. To use this applet you need to put in your web site both lvhues.class and lv1.class.

This is an example:

Look at another example that shows what happens using two images: the image itself and a mask.

You can configure these parameters:

Parameter Name Default Value Short Description
Image (none) The name of the image file
Mask (none) The name of the mask file (if used)
Period 15000 Time to perform a complete hue rotation (in milliseconds)
ReduceColors 0 for GIF files, 3 for JPEG files A coefficient that reduces the number of colors in the image, allowing better performance. Normally you can accept the default setting, but it's a good idea to reduce it to "0", "1" or "2" for small JPEGs. The max. value is "7". (You can also use numbers from "-1" to "-7" that will darken the image.)
Link (none) The URL to be shown when the users clicks over the applet
Target _self Destination frame for the link
Separator , A character used as separator for parameters that specify multiple characteristics (e.g. Font)
Font Dialog,0,12 Text font. The format is:
type + separator + style + separator + size

where type can be "Courier", "Dialog", "Helvetica" or "TimesRoman"; style can be "0" (Normal), "1" (Italic), "2" (Bold) or "3" (BoldItalic); size is an integer

Background 000000 Background color. The format is "RRGGBB" (similar to HTML)
Foreground FFFFFF Text color
HandCursor Yes Uses the hand-shaped cursor over the links or not. The value can be "Yes" or "No"
SleepTime 10 Short pause between the animation frames (in milliseconds)
Text Loading... Text to display while loading the image
Credits (none) Please set it to "applet by www.cromoteca.com" as a credit for the author. Thank you! (This is required if you use this applet on the web, otherwise it won't work)

Note: the names of their parameters and their values are case-insensitive, with the exception of the font names ("Courier", "Dialog", "Helvetica" and "TimesRoman") and of the Credits value.

Cromoteca