LVBox Readme

Cromoteca

lvbox applet 1.7 - by Cromoteca

lvbox displays a sequence of images and text applying transition effects between them. Any slide can be an image or a text, and can have an associated link. Text and image names can be set by using parameters or by writing a text file like this. Using a text file allows to edit the contents very easily, so this is highly recommended, since it allows to share the contents between different pages.

This is an example:

You can configure these parameters:

Parameter Name Default Value Short Description
DataFile (none)

The name of the text file containing the contents of the slides. Look at the example. You MUST put a blank line between two slides. Format is

text (or image name) + separator +
URL to link + separator +
target + separator +
effect number (0 to 21)

You can put the text on multiple lines: line breaks will be replaced by spaces. URL, target and effect number can be omitted (effect number will be random)

News# (none) The contents of the slides if a data file is not specified. The format is the same described above. You can specify any number of slides, naming them news1, news2, news3...
Link (none) The default URL to be shown when the users clicks over the applet
Target _self Default destination frame for the links. This can avoid specifying the same name in every 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

Background1 000000 Background color. The format is "RRGGBB" (similar to HTML)
Background2 the value of background1 Border color used for mouseover effect. The format is "RRGGBB" (similar to HTML)
Foreground FFFFFF Text color
EffectDuration 1000 Time required perform a transition effect (in milliseconds)
PauseDuration 3000 Pause before changing slide (in milliseconds). Pause can be longer if the next slide is an image, due to loading time
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). Usually unmodified.
Text Click here for news Default text when no other information to display has been found
TextAlign 0 Type of text alignment: 0 is left aligned, 1 centered, 2 right aligned, 3 justified
TextMargin 2 Margin of text from the border of the box (in pixels)
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.

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