Here's a small slideshow applet I have written to enhance some Web sites. It works by displaying interpolated images between the images you give it. This results in a circular sequence of images with smooth transitions between them.
If your browser supports frames and has Java enabled, maybe you're seeing this applet running in the top left corner of the screen.
Runs in any Java compatible browser (JDK 1.0.2). (Due to Netscape's usual substandard implementation of Java, it won't work with Netscape browsers on the Mac. However it will degrade gracefully by just showing the first image. If you know about a way to fix this, please tell me (didier%40dfr.ch?Subject=Diaporama-NS-Mac).)
Small size (about 10k).
Using this applet for smooth transitions is efficient because transition images are computed locally, not transmitted.
Asynchronous behavior (only waits for the images it needs before starting, loads images sequentially and asynchronously).
Relatively high memory usage, but still usable on most machines for middle-sized images.
Name |
Type |
Description |
|
between |
int |
Number of interpolated images between each image |
|
mainDelay |
int |
Time to display a non-interpolated image (ms) |
|
delay |
int |
Time to display an interpolated image (ms) |
|
link |
url |
Document to show when user clicks on applet |
|
target |
String |
Frame in which to display link |
|
message |
String |
Text to display in status bar when mouse cursor enters applet |
|
image1 |
url |
First image. Used via Applet.getImage |
|
image2 |
url |
Next image. And so on... (without gaps) |
You will have to prepare the slideshow images so that they all have the same size as the applet.
URLs given in the parameters are relative to the document containing the applet.
The applet archive file. Get this if you just want to use the applet.
The ZIP file containing the Java source code for the applet.