Implements an applet that allows button rollovers.
KaiButton
Implements a button which changes its appearance in response to mouse enter or mouse down events.
WebKaiButton
Implements a button that extends the KaiButton class to handle clicks by sending the user to a new URL.
ExtendedApplet
Implements parameter parsing and other frequently-required applet functionality.
Project Archive (StuffIt)
Sources and CodeWarrior project in StuffIt 5 format for Macintosh users.
Project Archive (ZIP)
Sources in ZIP format for PC users.
To download source or class files, click on the file icon with your right mouse button (Windows/UNIX) or click and hold (Macintosh) and choose "Save ..." or "Download ...". Archives containing the sources for this applet are provided in StuffIt 5 and Zip format.
Partial URL for the inactive button image. This is the location of the image relative to the page that contains the applet.
active
String
-
-
Partial URL for the active button image.
clicked
String
-
-
Partial URL for the clicked button image.
url
String
-
-
URL to send the user to when they click the button. This may be an absolute URL or relative to the current page.
background-color
Color
#rrggbb
-
Background color for button. If not specified, the browser's background color (which typically evaluates to browser gray, irrespective of the actual page background color) will be used.