Lens Applet.

    View Sample #1   View Sample #2   View Sample #3  


The Lens applet will make it appear as if a lens or magnifying glass is moving over an image.


Applet parameters
width, height These are the standard applet tags describing the width and height of the applet in pixels.
image The filename of the image to use. This is relative to the html-document.
bg The color used for background when loading the image, in format rrggbb.
lenssizeex, lenssizey This is the size of the lens in pixels.
xadd, yadd These let you specify how fast the lens moves. Recommended values are between 10-100.
depth This is the depth of the lens, it can be negative or positive. 1000 gives a 'normal' lens. Try making this extremely high for some interesting effects.
mouse If set to 1, lens will follow mouse movements when pointer is inside the applet. Set to 0 to disable this feature.
noise If set to 0, lens will not be visible when mouse is outside of the applet.
span This controls the movement span of the lens. 100 makes the lens move to the edges of the applet.
url The target url when using the applet as a button or NavBar. If using a NavBar then this value is any number of target url's, separated by a space character.
target This option lets the user specify which frame to open a target url in. Default is current frame.
orientation This is the orientation of the NavBar. V for vertical or H for horizontal.
cabbase This parameter is here to make the applet load faster in Internet Explorer. Don't change the value of this.