Pieces applet
version 1.0
programmed by Tatiana Konstantinova
contact: lunya@hotmail.com
Click for about information
This applet demonstates 4 moving images as the parts of one image. If you want to use it on your web site just copy the images files that you should find with this file ( imLT.JPG, imRT.JPG, imLB.JPG, imRB.JPG) then copy Pieces.class and PiecesFilter.class to the same directory on your web site and finally insert the following html code to your page :
<!--Pieces applet by Tatiana Konstantinova -->
<applet codebase="http://mysite/mydirectory/"
code="Pieces.class" name="Pieces" width="102"
height="102">
<param name="ImgLT" value="imLT.JPG">
<param name="ImgRT" value="imRT.JPG">
<param name="ImgLB" value="imLB.JPG">
<param name="ImgRB" value="imRB.JPG">Sorry your browser
does not support Java
</applet>
* Replace codebase address with your own site/directory address , if your page has the same directory with the applet classes and images, remove the codebase parameter.
You can use your own images as the values of "ImgLT","ImgRT","ImLB" and "ImRB" parameters. You also can use the following parameters:
<param name=Filter > values can be "0" or "1" ("1"= use filter,"0"=do not use filter);
<param name=Red>, <param name=Green> and <param name=Blue> values can be integers between 0 and 255 (using this parameters you can variant the background colors in RGB, look at the list)
Here are some backgrounds that you can use with "Red","Green" and "Blue" parameters:
RED | GREEN | BLUE | COLOR |
0 | 0 | 4 | blue (default) |
0 | 4 | 0 | lime |
4 | 0 | 0 | red |
0 | 0 | 0 | black |
4 | 4 | 0 | yellow |
4 | 0 | 4 | fuchsia |
0 | 4 | 4 | aqua |
4 | 4 | 4 | white |
1999