VMaxWeAreOpenedII Applet
|
Applet tag code example
<APPLET CODE=vmaxweareopenedii.class WIDTH=400 HEIGHT=140> <PARAM NAME="TIMEZONE" VALUE="-360"> <PARAM NAME="DLSTSTART" VALUE="Apr Last Sun 02:00"> <PARAM NAME="STANDARDSTART" VALUE="Oct First Sun 02:00"> <PARAM NAME="DLSTBIAS" VALUE="-60"> <PARAM NAME="STANDARDNAME" VALUE="CST"> <PARAM NAME="DLSTNAME" VALUE="CDT"> <PARAM NAME="BGCOLOR" VALUE="ffffff"> <PARAM NAME="TEXTCOLOR" VALUE="000000"> <PARAM NAME="CROSSCOLOR" VALUE="0000ff"> <PARAM NAME="GRIDCOLOR" VALUE="c0c0c0"> <PARAM NAME="FONT" VALUE="dialog,1,10"> <PARAM NAME="AUTHOR" VALUE="Virtual_Max (http://come.to/vmax)"> <PARAM NAME="KEY" VALUE="120105106-1381111381128176-102"> <PARAM NAME="OPENEDCOLOR" VALUE="00a000"> <PARAM NAME="CLOSEDCOLOR" VALUE="ffffff"> <PARAM NAME="OPENEDDAYS" VALUE="-+++++-"> <PARAM NAME="OPENEDHOURS" VALUE="---------+++++-++++-----"> <PARAM NAME="DEBUG" VALUE="true"> <PARAM NAME="OPENEDTEXT" VALUE="We opened right now !"> <PARAM NAME="CLOSEDTEXT" VALUE="Now closed. Please, choose better time to call us"> <PARAM NAME="OURTIMETEXT" VALUE="Time in our office"> </APPLET>Parameters
| TIMEZONE | Your timezone offset in minutes (Standard time assumed)
For example, for GMT:-6:00 timezone use "-360" |
| DLSTSTART | Your DayLight time start date rule.
(Transition date from Standard time to DLST time) Applet parses string considering it have the following
format:
Some examples:
|
| STANDARDSTART | Your Standard Time start date, same syntax as above
(Transition date from DLST time to Standard time) |
| DLSTBIAS | DLST bias in minutes, most zimezones have it "-60", ( one hour ahead ) |
| STANDARDNAME | Optional string to be shown to indicate standard time. |
| DLSTNAME | Optional string to be shown to indicate DLST time |
| BGCOLOR | Background color in hexadecimal RRGGBB format, same as html colors are, but without # radix symbol. |
| TEXTCOLOR | Text Color, same format as BGCOLOR |
| CROSSCOLOR | Crosshair pointer to current client time color. |
| GRIDCOLOR | Grid color |
| OPENEDCOLOR | Cell color for opened hours |
| CLOSEDCOLOR | Cell color for closed hours |
| FONT | Optional font settings, includes FontName , FontSyle
and FontSize separated by comma.
FontName can be ONLY one of the following platform independent fonts supported by Java Keep in mind that font names are case sensitive. Fontstyle:
FontSize any positive integer
|
| OPENEDTEXT | Text string to be displayed for 'opened now' state |
| CLOSEDTEXT | Text string to be displayed for 'closed now' state |
| OURTIMETEXT | String for your local time display. |
| OPENEDDAYS | 7 characters string containing 7 '+' or '-' chars, First character corresponds to Sunday, last character to saturday. ('+' for working days) |
| OPENEDHOURS | 24 characters string of + or - first character corresponds to 0:00-1:00 period, last character corresponds to 23:00-24:00 period ('+' for working hours) |
| AUTHOR | Obligatory parameter, should be "Virtual_Max (http://come.to/vmax)" don't alter it's value. |
| KEY | "Free Version" will
show last modified date for specified file, but on mouse click will link
back to VMax pages.
If you want to get rid out of it, please, register the applet, valid key would completly remove this 'features' of free version. |
Additional Notes
1. Size of cells is adjusted automatically
according to font size.
2. Applet can display wrong results if time and timezone
settings on client's side are incorrect.