advertisement
javaboutique
Search Tips
Articles  |   Tutorials  |   Reviews  |   Tools  |   by Category  |   by Date  |   by Name  |   Submit  |   Source  |   Forums  |  
javaboutique
Browse DevX


Partners & Affiliates











advertisement

LVBook


lvbook applet 1.4 - by lvplanet

lvbook allows you to display a collection of images in a virtual photo album with turnable pages. You can either show small thumbnails and link to the corresponding big images, or show the big ones directly (well, as big as possible: remember that most people use an 800x600 screen resolution). The best feature of this applet is not the page turning effect, but the automatic preloading and caching of the images to be displayed, allowing a faster and better navigation of the pictures. This applet uses a fast but good algorithm to resize the images on the fly to fit the book.

Click on the images to open them in another window or, for the images 2 and 5, to open the associated link. Click below the images to turn pages.

You can configure these parameters:

Parameter Name Default Value Short Description
Image# (Image1, Image2, Image3 and so on) (none) one parameter for each image of the virtual book. The format is:

file name + separator + caption + separator + URL + separator + target

where "separator" is a comma (,) unless specified differently using the Separator parameter (e.g. to use commas in some caption). For example:

<param name="Image7" value="ny.jpg,New York,http://www.ny.com,_top">

To skip a value, but not the next one, leave a blank space between the two commas. This bug will be fixed in a future release. This is an example of image without caption and with URL:

<param name="Image18" value="ba.jpg, ,http://www.baires.ar,_blank">
OpenImages No When set to "Yes", clicking on the images will open them in the frame specified by Target, unless the chosen image has an associated link.
PageBorders No Shows a thin border around the pages. The value can be "Yes" or "No"
ResizeAll No If set to "Yes", resizes small and large images to fit the pages. When set to "No", only small images are resized
EffectDuration 1000 Time required to turn a page (in milliseconds)
PauseDuration 3000 Min. pause before turning a page (in milliseconds). Set it to "0" to avoid automatic page turning
TopMargin 10 Top margin of the pages (in pixels)
BottomMargin 10 Bottom margin of the pages (in pixels)
InnerMargin 15 Inner margin of the pages (in pixels)
OuterMargin 10 Outer margin of the pages (in pixels)
PageNumbers Yes Shows page numbers below the images. The value can be "Yes" or "No"
Font Dialog,0,12 Captions 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

CaptionHeight 15 Reserved height for the caption (in pixels)
CacheSize 2 Size of the internal cache for the images, measured in couple of pages before and after the ones viewed at the moment
CacheAll No Caches all the images. The value can be "Yes" or "No". It's a good idea to set it to "Yes" if you are using small thumbnails
Background1 000000 Paper color. The format is "RRGGBB" (similar to HTML). Look at the color table for some examples
Background2 000000 Another paper color to obtain a fading between the two pages. Also used for the borders, if needed
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)
Separator , A character used as separator for parameters that specify multiple characteristics (e.g. Font)
Target _self Default destination frame for the links. This can avoid specifying the same name in every link
Credits (none) Please set it to "applet bt www.lvplanet.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.

lvplanet - java home


Back to the LVBook applet page

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.

 Microsoft Visual Studio 2010 Showcase
 Avaya Developer Showcase
 MSDN Spotlight
 PHP for Windows Showcase
XML error: undefined entity at line 39
advertisement
Receive Articles via our XML/RSS feed
Receive Articles via our XML/RSS feed

JavaBytes
Internet Cyclone
This powerful, easy-to-use, internet optimizer is for Windows 95, 98, ME, NT, 2000 and XP. It's designed to automatically optimize your Windows settings, boosting your Internet connection up to 200%.

Windows 7: From Beta to Final Code in One Year
Google Shows Off Chrome OS, Releases Source
Microsoft Shows Off Silverlight 4, IE9 Plans
Metasploit Expands Vulnerability Test Framework
HyperCard Reborn?
Fedora 12 Takes Aim at Linux Networking
Top Supercomputer Nearly Doubles in Speed
Fedora 12 Linux Tackles Virtualization
Apple Gives iPhone Developers App Status Tracker
Novell Sets OpenSUSE 11.2 Free

Creating Custom Export Filters for StarOffice with XSLT
WPF Wonders: Using DataTemplates
Crystal Reports Family Offers Options for Developers
Avaya Aura Session Manager video
Avaya Aura Overview video
Exploring HTML 5's Audio/Video Multimedia Support
Overriding Virtual Functions? Use C++0x Attributes to Avoid Bugs.
Understanding the Cloud Computing Security Vulnerabilities
Cisco and IBM Target a Greener World
Upgrade to Visual Studio 2010 with the Ultimate Offer

Advertising Info  |   Member Services  |   Contact Us  |   Help  |   Feedback  |   Site Map  |   Network Map  |   About

internet.commediabistro.comJusttechjobs.comGraphics.com

Search:

WebMediaBrands Corporate Info

Legal Notices, Licensing, Permissions, Privacy Policy.
Advertise | Newsletters | Shopping | E-mail Offers | Freelance Jobs