Features
- A "hover button" which shows a different picture when
the user hovers their cursor over the button
- Very small and fast to load.
- Any size images can be used, giving any size button
Demonstration
HTML Example
<applet code="jonetHoverPic.class" width=109 height=25>
<param name="IMG_normal" value="pic1.gif">
<param name="IMG_hover" value="pic2.gif">
<param name="URL" value="http://www.javaobjects.net/">
<param name="target" value="_blank">
</applet>
Installation and Configuration
Download the class file. Use the "Buy Now" button
above. Copy the above code (in bold) into your HTML
(note, not the content) of your web page, then copy the class
file into the same directory. Copy your two image
files (the "normal" and "hovered over" images) into the
same directory. These files can be .GIF or .JPEG,
and can be created in any graphics package, such as Microsoft
Windows Paint. Set the width and height of the Java (TM) Applet
to the same size as your images, in pixels. You can customise your
applet by changing the following parameters :
| IMG_normal
|
name of the image
file when the button is not hovered over |
| IMG_hover
|
name of the image
file when the user has the cursor hovering over the button |
| URL |
the URL to call if
the user clicks on the button |
| target |
the target window
to open the URL in. Valid values of _top _self
_parent or _blank. |
[home] [products]
[site map]
[license
information]
[support]
[links] |