LVHues Readme

Cromoteca

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

Comments

Comments are moderated to avoid SPAM.

Jane Baker
(Feb 4, 2008 10:15 PM)


Hi,

Could you please tell me where to get the lvhues.class and lv1.class?

They don't download in the zip file.

Thank you



Jane

Jane
(Feb 4, 2008 10:21 PM)


Sorry, didn't leave an email address if you care to help out.

It's mqchevelle69@hotmail.com



Thank you



JB

Luciano Vernaschi
(Feb 5, 2008 8:18 AM)


Jane,

you can use lvhues.jar that is more efficient since it is compressed and is a single file:

<applet code="lvhues.class" archive="lvhues.jar" width="100" height="100">
... parameters ...
</applet>


Krystal
(May 29, 2008 2:34 PM)


When using the lvhues.jar, locally, it works fine. But when I copy the webpage to an internet site, using:

<p align="center">
<applet code="lvhues.class" archive="lvhues.jar" align="baseline"
width="300" height="400">
<param name="image"
value="testimage-1.jpg">
</applet>
</p>

I only get a white box. And yes, I copied the lvhues,jar to the server.

Languages

Top Level Menu

Section Menu

News

MeshCMS 3.4.1
(Nov 6, 2008)
MeshCMS 3.4.1 has been released to fix the issue with Tomcat 6.0.18 and 5.5.27. MeshCMS 3.5 is still under development.
Contributed Modules
(Sep 2, 2008)
Additional MeshCMS modules contributed by the community are available in a dedicated page.

Donate to MeshCMS

Support This Project