Parameters description and code example for the applet WM Zoomfade.
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 Zoomfade Parameters:
|
bgimgs
|
Its the list of the filenames
background images (must be a .jpg or .gif
file separated by "|", at least two images)
|
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 |
mouseinter |
If its 1 the visual effect can be piloted
by mouse, if its 0 the visual effect can not be piloted by
mouse |
zoomfadestyle |
Its the style of the zoomfade
effect (0 for zoom out and 1 for zoom in) |
zoomfadedir |
Its the direction of the zoomfade
effect (can be 0 for center, 1 for north, 2 for
south, 3 for east, 4 for west, 5 for north-east,
6 for north-west, 7 for south-east, 8 for south-west
and 9 for a random zoomfade direction) |
zoomfadesp |
Its the speed of the transition
effect between two images (must be a value between 1 and 40) |
zoomfadewait |
Its the waiting time between two
transition effects (must be a value between 0 and 20) |
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 |
Are the addresses of the web pages linked by pictures
in the applet window (separated by "|"),
you can associate a url for each image (the urls must begin with http://) |
urltarget |
Are the target of the urls in the urltolink parameter
(separated by "|"), if
the target 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, you can associate a target for each url) |
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_Zoomfade.class"
codebase="./" width="320" height="200">
<param name="bgimgs" value="image1.gif|image2.gif|image3.gif">
<param name="fgimg" value="wm.gif">
<param name="fgimgx" value="2">
<param name="fgimgy" value="2">
<param name="mouseinter" value="1">
<param name="zoomfadestyle"
value="1">
<param name="zoomfadedir" value="9">
<param name="zoomfadesp" value="3">
<param name="zoomfadewait" 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="FFFF00">
<param name="scrolltextfont"
value="0">
<param name="scrolltexth" value="36">
<param name="bottomtext" value="Webmatic
Zoomfade">
<param name="bottomtextcol"
value="FFFFFF">
<param name="bottomtextalign"
value="0">
<param name="urltolink" value="http://www.valarsoft.com|code.html|par.html">
<param name="urltarget" value="_blank|_blank|_blank">
<B>Sorry, this browser don't support java</B>
</applet> |
|