lvbox


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.

Back to lvbox

How to Add Java Applets to Your Site

New on the Java Boutique:

New Review:

Time Management Made Easy with the Quartz Enterprise Job Scheduler
Why not just use the Java timer API? This open source scheduling API boasts simplicity, ease-of-integration, a well-rounded feature set, and it's free!

New Applet:

Reverse Complement
Reverse Complement is a simple applet that converts DNA or RNA sequences into three useful formats.

Elsewhere on internet.com:

WebDeveloper Java
Lots of Java information on webdeveloper.com

WDVL Java
Thorough Java resource at the Web Developer's Virtual Library.

ScriptSearch Java
Hundreds of free Java code files to download.

jGuru: Your View of the Java Universe
Customizable portal with online training, FAQs, regular news updates, and tutorials.