Getting Started             

  1. Place the program files (SlideShow.jar, SlideShow.cab and rySlideShow.class) in the directory containing the HTML document into which you want to insert the applet (or into a different directory, and add the correct CODEBASE= attribute to the applet tag given below).

  2. Add the following applet tag to your HTML document in the position you want SlideShow to appear:

    <APPLET CODE="rySlideShow" ARCHIVE="SlideShow.jar" WIDTH=??? HEIGHT=???>
    <param name=CabBase value="SlideShow.cab">
    <param name=Copyright value="SlideShow (c) 1997 Cool Focus [www.coolfocus.com]">
    <param name=BgColor value="FFFFFF">
    <param name=TextColor value="000080">
    <param name=TextBgColor value="C0C0C0">
    <param name=Font value="Helvetica,bold,10">
    <param name=ShowFilename value="path">
    <param name=Pause value="5">
    <param name=Position value="centered">
    <param name=Animate value="yes">
    <param name=AnimateFrom value="random">
    <param name=AnimationDelay value="3">
    <param name=AnimationVDelay value="3">
    <param name=AnimationHDelay value="3">
    <param name=InitialLoad value="yes">
    <param name=DisplayOrder value="up">
    <param name=PauseOnEnter value="no">

    <param name=Image1 value="images/01.jpg">
    <param name=URL1 value="test2.htm">
    <param name=Target1 value="mainframe">
    <param name=Message1 value="A big empty book">
    <param name=Image2 value="images/02.GIF">
    <param name=URL2 value="test2.htm">
    <param name=Target2 value="mainframe">
    <param name=Message2 value="A microphone">
    <param name=Image3 value="images/03.GIF">
    <param name=URL3 value="test3.htm">
    <param name=Target3 value="mainframe">
    <param name=Message3 value="A treble clef and some notes">
    <param name=Image4 value="images/04.GIF">
    <param name=URL4 value="test3.htm">
    <param name=Target4 value="mainframe">
    <param name=Message4 value="A small book">
    <param name=Image5 value="images/05.GIF">
    <param name=URL5 value="test3.htm">
    <param name=Target5 value="mainframe">
    <param name=Message5 value="A floppy disk">
    </APPLET>

  3. Edit the two sets of question-marks to set the applet width and height. A standard scenario with an applet like SlideShow is to use a collection of images that are all the same size, and set the applet dimensions accordingly. Equally as good is to set the applet dimensions to match the size of your largest image, and set the Position parameter to "centered". Using this second method and setting the BgColor parameter to match the color of your page background will give a clean effect regardless of how much your image sizes vary. If your applet dimensions are smaller than the dimensions of some of your images, it's still preferable to set Position to "centered" (that's why it's the default setting for that parameter!). This way, although you won't see the whole of those larger images, you will the the central portion.

  4. Edit the five sets of Image/URL/Target/Message parameters (and add as many more as you need) according to the details in The Parameters Explained. Enter paths and names of images in the Image parameters in relation to the current directory, as with the HTML <IMG SRC=> attribute.

  5. In the same way, edit the global parameters to select the colors, fonts, and animation options you want to use.

  6. Save the document and open it in your browser. Provided the class file is located where you have specified in the tag and parameter, and the images can be found, SlideShow will start and begin cycling through the images.