Description
This is a simple applet which takes in a few images, each of which may or may not be a hyperlink, and displays them for a specific amount of time, before slowly reducing it, giving way to the next image. For those who want to create an enhanced/animated web page, it will be very easy to use, since it only needs a few images for animation.
Try clicking on it when different images appear. I have not added any links to take you out of this page to the applet.
For those who want to use it on their web pages:
The applet works best if you have two images of similar or proportional sizes. For example. for a with of 300 pixels and height of 80 pixels, add the applet tag as:
<applet class="ImageApplet.class" width="300" height="80">
The parameters can be added after the applet tag as:
<param name="parameter" value="theval">
Replace "parameter" by one of the following (bold) identifiers with proper values instead of "theval":
- image<n>: The value is an image address. Note that n is a number, and thus, you should provide the parameters as image1, image2 etc. with corresponding values. Also note that you must write these tags in order starting from image1. If you break the order, then only the images which are in order from 1 onwards are considered. For example, if you write param tags for image1, image2, image3, image4, and then image7 etc., only image1 till image4 are loaded. Others are neglected.
- url<n>: The url associated with the image. Absolute urls such as http://(something) and similar stuff (ftp://, mailto: etc.) work, but I don't know about relative links. I suspect they don't work, so give the full thing anyway.
- framedelay: The delay (in milliseconds) for which the applet waits before going to the next frame of animation, i.e. this is the inverse of frames per second in animation!
- stopdelay: The time (in milliseconds) for which the applet stops at each image.
Remember to add the </applet> tag after you finish giving parameters.
Get the source.
Last modified: Sun Jul 10 13:07:50 IST 2005

