This image's measurements are: height = 262 and
the width is 334 pixels. These are inserted into the following
code. Where there is an item in red add your own image information.
<applet code="alcsnow.class" width="334" height="262" name= "snow" alt="Robins">
|
Setting up the applet code. "Robins"
is the name of this image.
The height and width for this image are entered here also.
|
| <param name="grph" value="robins.jpg"> |
Name of your image goes in here.
|
| <param name="snows" value="1000"> |
The value can be changed. This gives the number of snowflakes.
|
| <param name="threadsleep" value="50"> |
This value alters the direction of the snow.
|
| </applet> |
End of the applet.
|
That's all there is to it! Copy the code below and
paste this code to your web page. You can also paste it into Notepad
and save it now to copy into your web page later.
<applet code="alcsnow.class"
width="334" height="262" name= "snow" alt="Robins">
<param name="grph" value="robins.jpg">
<param name="snows" value="1000">
<param name="threadsleep" value="50">
</applet> |
Make sure that the alcsnow applet and the image
are in the same folder as your web page, or that you have
given the path, (e.g., graphics/robin.jpg) so that the browser
knows where to find them.