Igor Shteynberg
igor@photomania.net
Short Description:
This is an applet, is designed for using by people who does not
know Java. My goal was to make applet as much customizable as
possible so that all parameters that user may want to change could
be changed by specifying different values is <PARAM> tag
without any recompiling of the Java program
User Instructions:
file: button.class must be uploaded to the same directory where you will upload the html file in which you will put button.
This applet can be included it a web page but putting a following code:
<APPLET CODE="button.class" WIDTH=Applet Width HEIGHT=Applet Height>
<PARAM name="url" value="link">
<PARAM name="default_msg" value="Default message">
<PARAM name="move_msg" value="Move message">
<PARAM name="wait_msg" value="Wait message">
<PARAM name="move_status" value="Status line">
<PARAM name="x" value="Horizontal coordinate">
<PARAM name="y" value="Vertical coordinate">
<PARAM name="font_name" value="Font name">
<PARAM name="font_size" value="Font size">
<PARAM name="italic" value="Any text">
<PARAM name="bold" value="Any text">
<PARAM name="font_color" value="Color code">
<PARAM name="backgr_color" value="Color code">
<PARAM name="move_color" value="Color code">
<PARAM name="move_backgr" value="Color code">
<PARAM name="wait_color" value="Color code">
<PARAM name="wait_backgr" value="Color code">
</APPLET>
parameter names are in italic
parameter values are in bold
where everything that's in bold should be replaced with your own information
| parameter | description | type | example | default value |
| HEIGHT | Button height | integer | 50 | 200 |
| WIDTH | Button width | integer | 200 | 200 |
| url | hyper link to the page that should be opened if the button is pressed | URL | http://www.yahoo.com | http://photo.tierranet.com
(my home page) |
| default_msg | text displayed by default | String | Button | value "Default" will be set by applet to remind user to specify this parameter |
| move_msg | text displayed when the mouse cursor moved over the button | String | Be sure to press this button | value of default_msg |
| wait_msg | text displayed after the button is pressed(clicked) and while new page is loading | String | Hold on a second | value of default_msg |
| move_status | text that displayed in a www browser status line when mouse cursor moved over the button | String | If you click this button you'll go somewhere else | value of default_msg |
| x | horizontal coordinate of text | integer | 10 | 5 |
| y | vertical coordinate of text | integer | 10 | 14 |
| font_name | Font that used for displaying messages | string | Corier | Times New Roman |
| font_size | Size of the font | integer | 14 | 12 |
| bold | if any text is specified for this parameter font will be bold | string | whatever | text will not be bold |
| italic | if any text is specified for this parameter font will be italic(not italic and bold can be combined) | text will not be italic | ||
| font_color | Default font color | HEX | FF00FF | black |
| backgr_color | Default background color | HEX | FF00FF | green |
| move_color | Font color used when cursor moved over the button | HEX | FF00FF | red |
| move_backgr | Background color used when cursor moved over the button | HEX | FF00FF | black |
| wait_color | Font color used after button is pressed(for displaying wait_msg) while user waits for new page t be loaded | HEX | FF00FF | yellow |
| wait_backgr | Background color used after button is pressed(for displaying wait_msg) while user waits for new page t be loaded | HEX | FF00FF | black |
In case if any parameters will not be specified, default values will be used.