Java™ - a simple hover class
This is the applet in action:
showing the same applet with another border:
The applet internally creates three images for the three possible states: one for the normal state, another one for the "hovered" state (lightened), and a third one for the state, when the button is down. So there should be no delay or flickering when the mouse is moved over the button.
param name
param value
param meaning
foregroundFFFFFFthe font color is white
background3366CCspezifies the color of the button canvas
hovercolor82ADE2color of the canvas, when the mouse button is down
font14, Arial, BOLDfont size, font name and (optional)
font style (BOLD and/or ITALIC)
targetFrameNameis the name of the target frame
texttest button 2is the button text
urlpage.htmlspecifies the page to be opened
framecol30the smaller the value, the darker the 3D-border
Download info:
mirror 2 is
mirror 2 is
mirror 3 is
If you need more information on how to embed a Java™ applet using XHTML compliant code have a look at the document 04_content_java_embed.php.



