Welcome to the SlideViewer Applet Page

Author: Mike Crider

Latest Version: 2.1

The SlideViewer applet allows the user to specify pleasant transitions between images. Below is an example of the SlideViewer applet performing all types of transitions. See the Full Example page to see the same transition set with descriptions of the transitions directly below the applet.

Netscape 2.0 or another Java-Enabled Browser is required to view the SlideViewer Applet

(The coast, storm, and bridge images were taken by Chris Taylor.)

SlideViewer V2.0 Notes

Several main things of interest/importance to SlideViewer 2.0:

SlideViewer V2.1 Changes

The following changes were made in SlideViewer 2.1:

SlideViewer Scripts

SlideViewer is completely controlled via a script file. The specification of the images to use and the transitions to go through are specified in the script. This allows for large transition sequences to be easily written and edited. Read the SlideViewer Script Description page for more information.

As a brief example of the script format, the blinking above was implemented as a loop of Appearing a black image, pausing, Appearing the normal image, and pausing again. The following script section implements the blinking shown above:

   do
      appear pic=black
         delay 300
      appear pic=interesting
         delay 300
   repeat times=2
   

Look at the script to see the entire commented script which is being performed above. The Full Example page displays the applet with descriptions of the transitions below it.

The above example is a bit abnormal since it goes through every transition, doing every direction. You may be interested to look at a more practical example.

Any errors discovered in the script file will be logged in the java console. SlideViewer also prints all lines it reads to the java console, which allows the user to see if Java has locked up SlideViewer (if it has stopped reading the file before reaching the end).

SlideViewer Controls

SlideViewer has the capabilities of having a page associated with each image. The URL for the image will be displayed as a "Go to" in the Status bar of the browser. Clicking on the image when the "Go to" message is displayed will take the user to the specified page. As an example, in the SlideViewer script being displayed above, clicking on the Netscape image that appears occasionally will take you to http://java.sun.com/.

There are also several keys that can be used to control the show:

SlideViewer Source

The complete documentation, source, and compiled class files from SlideViewer are available in one packaged tar.gz:

SlideViewerV2.10.tar.gz

SlideViewer consists of two source files (below). I wrote a modularized version in which each transition was a separate module in a different .java file, but scrapped it because it took too long to load the 20 .class files.

Java Alpha3 Version

If there is any interest, the Java Alpha3 version is also available. The HotJava browser is necessary to see Alpha3 applets.

Known bugs


Last updated: March 18, 1996


SlideViewer was written and is Copyright © 1995 by Mike Crider