The Image Sequencer Applet

This applet displays a sequence of images, each of which has a hypertext link to another page. It could be used to replace animated gif's which display an advertisement banner, as it would be possible to have several different advertisements on the one page. Here's an example of the applet in action:
Sorry, Your browser doesn't support Java

Download

There are two versions of the applet - one for browsers supporting Java 1.1, and one for the more common browsers. The only difference between the two versions is that a hand cursor appears over the images in the Java 1.1 version. Browsers which support Java 1.1 are Netscape Navigator 4, Internet Explorer 4, and Sun's HotJava browser.
Download standard version
Download Java 1.1 version

Specifications

Three class files are required: the 'ImageLinksApplet.class' file, the 'FXFilter.class" file, and the 'RunFilter.class' file. The width and height of the applet should be set to match the size of the images.

The parameters used by the applet follow. If any parameters are omitted default values will be used.
Parameter NameTypePurpose
IMAGExfilenameThis specifies the filename of the image which is to be used. The 'x' should be replaced by a number, from 1 upwards, indicating the position of this image in the sequence.
LINKxaddressThis parameter specifies the address of the page to which the browser will jump when the image is clicked. The 'x' should be set to match with the previous 'IMAGE' parameter. The address should be specified in full, i.e. 'http://geocities.datacellar.net'.
DELAYnumberThis parameter sets the delay between changing images. It should be specified in milliseconds, i.e. 5000 = 5 seconds.

Example HTML code

<APPLET CODE="ImageLinksApplet.class" WIDTH=500 HEIGHT=100>
<PARAM NAME=IMAGE1 VALUE="example1.gif">
<PARAM NAME=LINK1 VALUE="http://www.yahoo.com">
<PARAM NAME=IMAGE2 VALUE="example2.jpg">
<PARAM NAME=LINK2 VALUE="http://www.gamelan.com">
<PARAM NAME=DELAY VALUE="7000">
</APPLET>


Copyright © 1997. Any questions, comments or suggestions to Niall Ryan
1