ModernJava
http://www.modernminds.com
P op-up Button Bar

This button bar uses the simple LiteTextURLButtonBar applet to create a button bar with buttons that "pop-up" when the mouse is moved over a button.

Notice that the text color changes when the mouse is moved over a button, and when the button is clicked.

Warning: unlike the other applet classes in the Ultimate Button Bar package, LiteTextURLButtonBar does not provide a parameter to allow buttons to exist with an invalid URL. If you click on a button, the applet will attempt to load a page over the Internet from the Modern Minds WWW site.
If the Java class files are located in the same directory as the HTML, then the complete applet tag would be defined as illustrated below. Click on the PARAM name for detailed information about the parameter.

<APPLET CODE="LiteTextURLButtonBar.class" WIDTH="376" HEIGHT="32">
<PARAM NAME="buttonBorders" VALUE="other">
<PARAM NAME="borderSize" VALUE="3">
<PARAM NAME="borderIntensity" VALUE="60">
<PARAM NAME="downShift" VALUE="true">
<PARAM NAME="downShiftAmt" VALUE="1">
<PARAM NAME="color" VALUE="7D3B9D">
<PARAM NAME="font" VALUE="Helvetica">
<PARAM NAME="fontColor" VALUE="FFFFFF">
<PARAM NAME="fontColorOver" VALUE="DEFFFD">
<PARAM NAME="fontColorDown" VALUE="00FF00"">
<PARAM NAME="fontSize" VALUE="18">
<PARAM NAME="button1Text" VALUE="Home">
<PARAM NAME="button1Start" VALUE="0">
<PARAM NAME="button1Size" VALUE="94">
<PARAM NAME="button1Desc" VALUE="Load the Home Page">
<PARAM NAME="button1URL" VALUE="http://www.modernminds.com/Home.html">
<PARAM NAME="button1Target" VALUE="_self">
<PARAM NAME="button2Text" VALUE="Java">
<PARAM NAME="button2Start" VALUE="94">
<PARAM NAME="button2Size" VALUE="94">
<PARAM NAME="button2Desc" VALUE="Load the Java Page">
<PARAM NAME="button2URL" VALUE="http://www.modernminds.com/Java.html">
<PARAM NAME="button2Target" VALUE="_self">
<PARAM NAME="button3Text" VALUE="Links">
<PARAM NAME="button3Start" VALUE="188">
<PARAM NAME="button3Size" VALUE="94">
<PARAM NAME="button3Desc" VALUE="Load the Links Page">
<PARAM NAME="button3URL" VALUE="http://www.modernminds.com/Links.html">
<PARAM NAME="button3Target" VALUE="_self">
<PARAM NAME="button4Text" VALUE="Contacts">
<PARAM NAME="button4Start" VALUE="282">
<PARAM NAME="button4Size" VALUE="94">
<PARAM NAME="button4Desc" VALUE="Load the Contacts Page">
<PARAM NAME="button4URL" VALUE="http://www.modernminds.com/Contacts.html">
<PARAM NAME="button4Target" VALUE="_self">
</APPLET>
N otes on the Applet Parameters
The borderIntensity was increased to 60% (the default is 50%) in order to make the button borders a bit easier to see.
The buttonXXTarget parameters were used with a value of "_self" so that if the button is clicked on a page that is part of a frameset, then the loaded page will replace just the frame that contains the page with the buttons. This parameter has no effect if the page is not part of a frameset.
Copyright © 1997 by Modern Minds, Inc.