Code is:
<p align="center">
<applet code="lake.class" width="280" height="440">
<param name="image" value="mypic.jpg">
<param name=overlay value="over.gif">
<param name="href" value="http://www.ibdprince.com/java.shtml">
</applet>
</p>
End of Code>
Requires:
Note:
Code is:
<p align="center">
<applet code="lake.class" width="280" height="350" alt="Lake Overlay">
<param name="image" value="mypic.jpg">
<param name="overlay" value="over2.gif">
</applet>
</p>
End of Code
Requires:
To better explain how this works - here are the two images. The .jpg image is the top half of the original image. The overlay (over2.gif) image is the original image (with the top half and the area where the 'lake effect' will appear) filled in with the transparent color.
|
|
| (mypic.jpg) | (over2.gif) |
BTW: Some people don't understand transparent colors. Hint: the transparent color is always invisible (i.e. transparent - so you never see it - even inside an image). Some people reading this page think the transparent color is white = NOT TRUE. The background color that shows thru the transparent color is White. The transparent color is one that will not be used in the image (such as dark pink :)
Updated: Tue, Jan 29, 2008
© 1995-2008