ButtonStyle Parameter

Controls some aspects of visual appearance and behavior of the button. Basically, using this this parameter you can achieve "flat" style, "hover" effect or just plain old non-dynamic look.

Format

VALUE="<BtnStyle>;<MouseoverEffect>"
DEFAULT:
  <BtnStyle>="NORMAL"
  <MouseoverEffect>="HOVER"

<BtnStyle> - controls visual appearance of the button. Can have one of the following values:

<MouseoverEffect> - a dynamic effect triggered by mouse-over event. Can be one of:

Examples

Flat hover button

We want a button without border with hover effect when user places mouse pointer over it.

PopupNavigator Java Applet - JDK 1.1.3 needed

<applet
  width=
"128"
  height=
"24"
  code="PopupNavigator/PopupNavigatorApplet.class"
  codebase="./"
  archive=
"PopupNavigator.jar">
<param name=
"ButtonStyle" value="FLAT">
<param name=
"0" value="BEPP;http://bepp.8m.com">
<param name=
"1" value="Test Page 1;test1.htm">
<param name=
"2" value="Test Page 2;test2.htm">
PopupNavigator Java Applet - JDK 1.1.3 needed

</applet>

Classic button

A button with standard border without hover effect.

PopupNavigator Java Applet - JDK 1.1.3 needed

<applet
  width=
"128"
  height="24"
  code=
"PopupNavigator/PopupNavigatorApplet.class"
  codebase="./"
  archive=
"PopupNavigator.jar">
<param name=
"ButtonStyle" value="NORMAL;NOHOVER">
<param name=
"0" value="BEPP;http://bepp.8m.com">
<param name=
"1" value="Test Page 1;test1.htm">
<param name=
"2" value="Test Page 2;test2.htm">
PopupNavigator Java Applet - JDK 1.1.3 needed
</applet>

 

PopupNavigator Reference Home