<applet archive="ansnow.jar" code="ansnow.class"
codebase="files/" width="200" height="300">
<param name=credits value="Applet by Fabio Ciucci (www.anfyjava.com)">
<param name=regcode value="NO">
<param name=reglink value="NO">
<param name=regnewframe value="YES">
<param name=regframename value="_blank">
<param name=statusmsg value="Snow">
<param name=flakes1 value="500">
<param name=flakes2 value="300">
<param name=flakes3 value="100">
<param name=flakes4 value="0">
<param name=windmax value="1">
<param name=windvariation value="7">
<param name=speed value="7">
<param name=backimage value="image55R.jpg">
<param name=bgcolor value="000133">
<param name=overtext value="NO">
<param name=overimg value="NO">
<param name=overimgX value="0">
<param name=overimgY value="0">
<param name=memdelay value="1000">
<param name=priority value="3">
<param name=MinSYNC value="10">
Sorry, your browser doesn't support Java.
</applet>
The
four tags beginning with "reg..." have to do
with registration of the applet and linkages for it.
If you haven't registered it, you can leave these
values as-is. I don't have a registration code
because I obtained the file from 1Archive.com, so
that's how the demo is.
The
"flakes1-4" values are the number of far,
middle, near, and foreground big flakes, respectively.
You can leave the numbers as-is or change it,
playing around with the values until you're satisfied
with the look.
The
"windmax" value is the maximum speed of the
wind from 1 to 3. I don't know if that's in MPH, KPH,
or knots. I chose to leave it as-is.
The
"windvariation" value is the frequency that
the wind varies from 1 to 10. I've left the value
as-is, but you can play around with this.
The
"backimage" value is the image you want the
snow to fall on. It's best to use one with snow
already in it. You can also use another image on top
of the back image. That's the "overimg"
value. I'm not using an over image, so I've left the
parameters as-is.
The
other values are explained in detail in the ansnow.txt
file enclosed in the zip you'll download to get the
.class and .jar files. Please read it.
One
you've gotten the code adjusted to your satisfaction,
close the element and resize it to the dimensions of
your image. Then save and publish your page.
Make sure everything works correctly when you preview
it. Make any other necessary adjustments.
Be
sure you upload your image, the two.class files, and
the .jar file to your Files Manager. Otherwise,
you won't have a working applet - all you'll see is a
gray box.
Please
click this window close to return to the Applets
Index.
|