|
Reactive button
Reactive button is simple button applet
and it changes color when get focus. Reactive button is free to use. It will be a spice of
your Web page.
<How to install and setup Reactive button>
- Add APPLET, PARAM and /APPLET tag into your html source.
- APPLET tag
<APPLET code="reactivebutton.class" width=250 height=50>
width means button width, heightmeans button height.
- PARAM tag
- <PARAM name=string value="Reactive
button">
The string on button.
- <PARAM name=focus_string value="Return to
Fujimiya's homepage">
The string on button when get focus. This is optional tag. Default is same as
"name=string".
- <PARAM name=url
value="http://aaa.com/~bbb/index.html">
The URL of link page. Please be careful, it must be full path.
- <PARAM name=frame value="frame name">
The target frame name. If you use multi frame, you can select target frame. default is
null (not use).
- <PARAM name=normal_font_color
value="FF0000">
Font color. It is hex value of six characters. Default is black.
- <PARAM name=normal_button_color
value="00FF00">
Button color. Default is light gray.
- <PARAM name=focus_font_color
value="0000FF">
Font color when get focus. Default is black.
- <PARAM name=focus_button_color
value="FFFF00">
Button color when get focus. Default is gray.
- <PARAM name=font_size value="14">
Font size
- <PARAM name=font_name value="TimesRoman">
Font name TimesRoman, Helvetica, Courier, Dialog is abailable
- /APPLET tag
End of APPLET tag.
- Sample source
- <APPLET code="reactivebutton.class" width=250
height=50>
<PARAM name=string value="Reactive button">
<PARAM name=focus_string value="Return to Fujimiya's home page">
<PARAM name=url value="http://www.asahi-net.or.jp/~FX6M-FJMY/">
<PARAM name=normal_font_color value="FF0000">
<PARAM name=normal_button_color value="73CBB2">
<PARAM name=focus_font_color value="0000FF">
<PARAM name=focus_button_color value="E1E379">
</APPLET>
|