|
Parameters description and code example for the applet WM CloudsMenu.
|
Applet dimensions and regcode:
|
|
width
|
Its the width of the applet window (must
be a positive non zero value)
|
|
height
|
Its the height of the applet window (must
be a positive non zero value)
|
| regcode |
Its the registration code (you must insert in this
parameter the registration code givn after the webmatic applets registration) |
|
WM CloudsMenu Parameters:
|
|
bgimg
|
Its the filename of the applet
background image (must be a .jpg or .gif
file)
|
|
fgimg
|
Its the filename of the applet foreground
image (must be a .jpg or .gif file)
|
| fgimgx |
Its the X position of the foreground image in the
applet window |
| fgimgy |
Its the Y position of the foreground image in the
applet window |
| cloudstype |
Its the type of clouds effect,
1 for a greyscale
smog effect, 2 for a fog effect, 3 for a red
smog effect, 4 for a yellow smog
effect, 5 for a green smog effect,
6 for a clouds effect |
| cloudswinddir |
Its the clouds scrolling direction,
0 for left to right, 1 for right to left |
|
cloudsspeed
|
Its the clouds scrolling speed,
1 for slow scroll speed, 2 for normal scroll speed,3
for fast scroll speed |
| cloudsden |
Its the clouds density factor,
if its 1 will be displayed
only the clouds (no background image will be showed), 2 for
hight clouds density, 3 for medium clouds density,4
for low clouds density |
|
Menu parameters:
|
|
menumode
|
Its the direction of the menu (must
be 0 for vertical menu, 1 for horizontal menu)
|
| menutitle |
Its the list of the menu items title (separated by
"|") |
| menuurl |
Its the list of the menu items url (with
http://, separated by "|") |
| menutarget |
Its the list of the menu items target (separated by
"|", if its _self the url will be show on
the same window, if its _blank the url will be show in a new
window, if its _parent the url will be show in the parent window,
if its _top the url will be show in the top window, if its
a custom value the url will be show in a frame with the custom value
name, all the values are case sensitive) |
| menupos |
Its the distance (by pixels) from the left or from
the top, to the first menu item (must be a positive or zero value) |
| menuspac |
Its the number of pixels between two menu items (horizontally
or vertically, must be a positive or zero value) |
| menuselectmode |
Its the menu selection mode (if its ...) |
| menunormalcol |
Its the text color of the menu
items (RRGGBB
hexadecimal values) |
| menuselectcol |
Its the text color of the selected menu item
(RRGGBB
hexadecimal values) |
| menushadowcol |
Its the color of the shadow menu items (RRGGBB
hexadecimal values) |
| menuboxcol |
Its the box or fill color of the selected menu
item (RRGGBB
hexadecimal values) |
| menushadow |
If its 1 a shadow in the menu text will appear,If
its 0 a shadow in the menu text will not appear |
| menufont |
Its the menu text font (must be 0 for times,
1 for arial or 2 for courier) |
| menufonth |
Its the height of the menu text characters (must be
a positive non zero value) |
| menualign |
Its the position of the menu in the applet window
(must be 0 for left or top, 1 for center, 2 for
right or bottom) |
|
General parameters:
|
| bottomtext (*) |
Its the bottom text in the applet window |
| bottomtextcol |
Its the color of the bottom text in the applet
window (RRGGBB
hexadecimal values) |
| bottomtextalign |
Its the position of the bottom text in the applet
window (must be 0 left, 1 center or 2 right) |
After all the parameters you can insert
a message for no java browser.
The parameter code must be the name of the main .class
applet file, the codebase parameter must be"./".
(*) You must register to change
this. |
|
Code example:
|
|
<applet code="WM_CloudsMenu.class" codebase="./"
width="180" height="250">
<param name="regcode" value="">
<param name="bgimg" value="image.gif">
<param name="fgimg" value="wm.gif">
<param name="fgimgx" value="2">
<param name="fgimgy" value="2">
<param name="cloudstype" value="6">
<param name="cloudswinddir"
value="1">
<param name="cloudsspeed"
value="2">
<param name="cloudsden" value="3">
<param name="menumode" value="0">
<param name="menutitle" value="Website|Applet
home|Code generator|Parameters">
<param name="menuurl" value="http://www.valarsoft.com|WM_CloudsMenu.html|code.html|par.html">
<param name="menutarget" value="_blank|_self|_self|_self">
<param name="menupos" value="100">
<param name="menuspac" value="14">
<param name="menuselectmode"
value="0">
<param name="menunormalcol"
value="0000FF">
<param name="menuselectcol"
value="FF0000">
<param name="menushadowcol"
value="111111">
<param name="menuboxcol" value="FF8822">
<param name="menushadow" value="0">
<param name="menufont" value="1">
<param name="menufonth" value="18">
<param name="menualign" value="0">
<param name="bottomtext" value="Webmatic
CloudsMenu">
<param name="bottomtextcol"
value="444444">
<param name="bottomtextalign"
value="0">
<B>Sorry, this browser don't support java</B>
</applet>
|
|