

HOT BUTTONS

Example of HotButton with full set of parameters:

<APPLET CODE="hotbutton.class" CODEBASE="http://www.yourserver.com/directory/" WIDTH=200 HEIGHT=25>
<PARAM NAME="BUTTONHEIGHT" VALUE="2">
<PARAM NAME="BGCOLOR"      VALUE="808000">
<PARAM NAME="PASSIVECOLOR" VALUE="404000">
<PARAM NAME="SHADOWCOLOR"  VALUE="c0c000">
<PARAM NAME="ACTIVECOLOR"  VALUE="ffff00">
<PARAM NAME="ACTIVESHADOW" VALUE="000000">
<PARAM NAME="ALIGN"        VALUE="LEFT">
<PARAM NAME="VALIGN"       VALUE="BOTTOM">
<PARAM NAME="FONT"         VALUE="Dialog, 1, 10">
<PARAM NAME="TEXT"         VALUE="Button Label here">
<PARAM NAME="STATUS"       VALUE="Hello!">
<PARAM NAME="LINK"         VALUE="index1.html">
<PARAM NAME="TARGET"       VALUE="_top">
<PARAM NAME="ICON"         VALUE="iconnew.gif">
<PARAM NAME="ACTIVEICON"   VALUE="iconhot.gif">
<PARAM NAME="PRESSEDICON"   VALUE="iconhot.gif">
<PARAM NAME="CLIP"         VALUE="whistle.au">
<PARAM NAME="KEY"          VALUE="Please, register">
<PARAM NAME="AUTHOR"       VALUE="Virtual_Max (http://vmax.netfx.com)">
</APPLET>

Most of the parameters names are self explaining, so only brief notes for 
advanced users.

All COLORS 	are in rrggbb hexadecimal format, same as HTML colors, but 
		without leading # character. For example 00ff00 corresponds 
		to red=00, green=ff, blue=00, light green color 

ALIGN 		can be CENTER, LEFT or RIGHT; in addition this parameter can 
		be integer value in pixels, so one can define absolute x 
		position of button text. One more keyword ICON set text 
		alignment to icon. LEFT alignment BTW, will place text on 
		left side and icons on right side of the button, so do not be
		surprised

VALIGN 		accepts only TOP, BOTTOM and CENTER

FONT 		settings include FontName, FontStyle and FontSize separated 
		by commas. Please, use only platform independent fontnames
		recognizable by Java. (check Wizard font selection menu if 
		you do not know what are platform independent fonts) 
		FontStyles are 0 for Plain, 1 for Bold ,2 for Italics and 3 
		for BoldItalics

FontSize 	should be integer number

TEXT 		is button label text, STATUS will be shown in browser status 
		bar on mouse over button

LINK 		is document URL, can be in full or relative

TARGET 		one of pre-defined names _top, _blank, _parent, _self or 
		frame name if you use this applet within frameset

ICONs 		there are three icons for three states, normal, mouse over, 
		and pressed. If one will define only ICON for normal state 
		and omit icons for pressed and mouseover states this icon 
		will be used for all three states. If active state icon 
		defined, and pressed state icon is omited, active icon will 
		be used for pressed state ALL ICONS SHOULD BE NON-INTERLACED 
		IMAGES IN GIF FORMAT. Well, Java is supposed to support JPG 
		images too, but some subsets of PGs causes problems. This is 
		a common problem, not this applet specific

CLIP 		is URL for sound, to be played on mouse over event. ONLY 
		Sun's .AU sound format supported

KEY 		is Encrypted URL of your web page. Unregistered applet will 
		work perfectly loaded locally, so one can test everything, 
		but wouldn't work on-line without valid KEY, so if you like 
		this applet, please register it for use at your page.
