Parameters description and code example for the applet WM Plasma.
Applet dimensions:
|
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)
|
WM Plasma 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 |
plasmapal |
Its the palette of the plasma
effect, 1 for a red plasma palette,
2 for a green plasma palette,
3 for a blue plasma palette, 4
for a yellow plasma palette, 5
for a rainbow
plasma palette, 6 for another rainbow
plasma palette, 7 for a fire
plasma palette, 8 for a greyscale
plasma palette |
plasmaf1 |
Its the plasma factor 1, if you
change this factor the aspect of plasma effect will be changed (must
be a value between 0 and 6) |
plasmaf2
|
Its the plasma factor 2, if you
change this factor the aspect of plasma effect will be changed (must
be a value between 0 and 6) |
plasmaf3 |
Its the plasma factor 3, if you
change this factor the aspect of plasma effect will be changed (must
be a value between 0 and 6) |
plasmaf4 |
Its the plasma factor 4, if you
change this factor the aspect of plasma effect will be changed (must
be a value between 0 and 6) |
plasmatra |
Its the plasma transparency value, if its 1
will be displayed only the plasma effect (no background image will
be showed), if its 2 will be displayed a transparent plasma
effect with the 25% of the background image, if its 3 will
be displayed a transparent plasma effect with the 50% of the background
image, if its 4 will be displayed a transparent plasma effect
with the 75% of the background image, if its 5 will be displayed
only the background image |
plasmafmouse |
Its the plasma fade effect by mouse, if its 1
when you move the mouse over the applet window the plasma effect fade
to the background image and when you move the mouse over the applet
window the background image fade to plasma effect, if its 2
when you move the mouse over the applet window the background image
fade to plasma effect and when you move the mouse over the applet
window the plasma effect fade to the background image, if its 0
mouse having no effect in the applet window |
General parameters:
|
scrolltext
|
Its the text that scroll in the applet
|
scrolltextdir |
Its the direction of the scroll text (must be 1
for left to right scroll, 0 for right to left scroll) |
scrolltextsp |
Its the speed of the scroll text (must be a a value between
1 and 5) |
scrolltextpos |
Its the Y position of the scroll text |
scrolltextcol |
Its the color of the applet scroll text (RRGGBB
hexadecimal values) |
scrolltextfont |
Its the font of the scroll text (must be 0
for times, 1 for arial or 2 for courier) |
scrolltexth |
Its the height of the scroll text characters (must
be a positive non zero value) |
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) |
urltolink |
Its the address of the web page linked by the applet
window (must begin with http://) |
urltarget |
Its the target of the url in the urltolink parameter,
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) |
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"./". |
Code example:
|
<applet code="WM_Plasma.class"
codebase="./" width="320" height="200">
<param name="bgimg" value="image.gif">
<param name="fgimg" value="wm.gif">
<param name="fgimgx" value="2">
<param name="fgimgy" value="2">
<param name="plasmapal" value="5">
<param name="plasmaf1" value="2">
<param name="plasmaf2" value="3">
<param name="plasmaf3" value="2">
<param name="plasmaf4" value="1">
<param name="plasmatra" value="2">
<param name="plasmafmouse" value="1">
<param name="scrolltext" value="http://www.valarsoft.com">
<param name="scrolltextdir"
value="0">
<param name="scrolltextsp" value="1">
<param name="scrolltextpos"
value="100">
<param name="scrolltextcol"
value="0000FF">
<param name="scrolltextfont"
value="0">
<param name="scrolltexth" value="36">
<param name="bottomtext" value="Webmatic
Plasma">
<param name="bottomtextcol"
value="FFFF00">
<param name="bottomtextalign"
value="0">
<param name="urltolink" value="http://www.valarsoft.com">
<param name="urltarget" value="_blank">
<B>Sorry, this browser don't support java</B>
</applet> |
|