Getting Started             

  1. Place the class file (ryAniBanner.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 AniBanner to appear:
    <APPLET CODE=ryAniBanner WIDTH=512 HEIGHT=128>
    <param name=Copyright value="AniBanner © 1998 CodeBase [www.codebase.co.uk]">
    <param name=BgColor value="F0F0FF">
    <param name=BgImage value="water.jpg">
    <param name=FgImage value="abc.gif">
    <param name=MouseReactive value="no">
    <param name=URL value="http://www.codebase.co.uk">
    <param name=Target value="_top">
    </APPLET>

  3. The Copyright parameter in the second line must be included for the applet to run. It is case sensitive, and the number of spaces between words must be identical (entirely single-spaced). If you try to run the applet and you see the message "Copyright parameter missing or incorrect", it denotes a problem with this parameter.

  4. Set the width and height of the applet to match those of your foreground image (FgImage).

  5. Set the background color (BgColor) of the applet. This will be visible through your background image (BgImage) if it's a GIF with transparency; otherwise it'll be entirely covered by images.

  6. Enter the reltaive or absolute paths to your two images. The BgImage is the one that will be animated.

  7. If the applet should link somewhere when clicked, include the URL and Target parameters with the appropriate relative or absolute URL and the name of the target frame or window.

  8. Full details and explanations of all parameters are given in The Parameters Explained.