Goetz's Banner v 1.1

Welcome to Goetz's Banner. With this Java applet you can have a banner on your page where the images in the banner change. As the images change, they zoom into the screen. You can have multiple URLs for the banner. For example, each image can have it's own URL.

This applet is shareware. Unless registered, it will display UNREGISTERED VERSION in the upper left hand part of the applet.
Registration is only $5 US funds. Registering will remove the registration message. Click here for registration information.

Here is an example of the applet.

Here is the code you add to your web page, to run the applet. You don't need to have the comment lines, but they help you read the code. I'd appreciate if you left in the comment about the title of the applet and where it can be found. This is so people who want to know what it is, know where to find it.

Your html file will be referring to gbanner.class. Don't forget to upload the class file when you upload your html file.

<!-- Goetz's Banner Applet Copyright Lawrence Goetz 1998 -->
<!-- Web: http://pages.prodigy.com/goetz E-mail: goetz@dorsai.org -->

        <!-- Adjust the width and height of the applet here. -->
        <applet code=gbanner.class name=gbanner width= height=>

        <!-- Enter in your background color here -->
        <param name=background value="">

        <!-- Enter in your images here. -->
        <param name=imageN value="">

        <!-- Enter in your URL links for the images here. -->
        <param name=URLN value="">


        <!-- Enter URL's target (if using frames) here. -->
        <param name=target value="">

        <!-- Enter in your link information here. -->
        <param name=infoN value="">

        <!-- Enter in the zoom option here. -->
        <param name=zoom value="">

        <!-- Enter in the time to pause between images here. -->
        <param name=pauseN value="">

        Sorry, but you can not read Java Applets.
        You need either Netscape or Internet Explorer.
        If you are using one of these browsers, you need to have Java enabled.

</applet>

Here are detailed explanations of the applet parameters.

Applet Size:

The size of the applet is given in the width and height values in the applet tag.
<applet code=gbanner.class name=gbanner width= height=>

For example if you want a 400 by 100 pixel applet, you write:
<applet code=gbanner.class name=gbanner width=400 height=100>

If you make the size too small, the image will get cropped at the edges. If you leave off a value, the applet will not be displayed, and an error message may appear.

Background Color:

Here are the color choices:

white
black
light gray
gray
dark gray
red
pink
orange
yellow
green
magenta
cyan
blue

To have a white background do:
<param name=background value="white">

If you don't specify the parameter tags, the default is a white background. If you make a spelling mistake you will get the wrong color. The name of the color must be in lower case.

Images:

<param name=imageN value="">

Your images can be gif or jpg. However Netscape seemed picky about some jpgs when I viewed them over the internet; I got an invalid jpg error. Internet Explorer didn't complain about those images. So test it out and if jpg doesn't work for some images, use gif instead.

You enter in your images as follows: imageN, where N is the image number, and value is the image file. If you have only one image, and for example the file is ball.jpg, you would do:
<param name=image1 value="ball.jpg">

If you have other images, just create additional lines and increment the image number. To add a second image, for example bat.jpg, you would do:
<param name=image2 value="bat.jpg">

URLs:

If you want to make an image link to a web page you have two ways to do so. If all the images should link to the same address then enter in the URL as follows:
<param name=URL value="">
Example:
<param name=URL value="http://pages.prodigy.com/goetz">

If you want to have each image link to a different address, such as multiple ads. You enter them as follows:
<param name=URLN value="">
Where N in URLN is the image number. Value is the address to link to. For example to have image one link to somewhere:
<param name=URL1 value="http://pages.prodigy.com/goetz">

Target:

If you are using frames on your page, you need to specify the target for the URL.       
<param name=target value="">

This takes the same value that you'd give the target in regular HTML code. The target is the name of the frame to display the URL.

_top will display the site in the main window of the browser (as if there were no frames).
_blank will display the site in a new browser window.
_self will display the site in the frame that the applet is in.
name will display the site in the frame specified by name.

Example:
<param name=target value="main">
This will display the site in the frame called main.

Information:

If you want to let the visitor know what they will be clicking on, you can give information when the mouse is moved over the applet. You can have the same information for all the images, or different info for each image.

If you want the same information for all the images do:
<param name=info value="">
Fill in the value as the information to be displayed.
Example:
<param name=info value="Visit my page">

If you want a separate information for each image, do the following:
<param name=infoN value="">
Where N in infoN is the image to get the information. value is the information to be displayed.
Example:
<param name=info1 value="Cool Site">

Zoom:

If you don't want the banners to zoom in, you can turn that effect off. To turn it off do:
<param name=zoom value="false">

If you want zoom on do:
<param name=zoom value="true">
If you leave out the zoom parameter line, zoom is enabled by default.

Pause Time:

To make the applet pause between images, you can enter in the following command:
<param name=pause value="">
Example that pauses for 2 seconds:
<param name=pause value="2">

Where value is the time in seconds to pause. This will pause the same time for each image. If you want to have different times for each image then do:
<param name=pauseN value="">
Where N in pause is the image to pause at.

Non Java Visitors:

If a visitor doesn't have Java, or it's not enabled, they will see:
Sorry, but you can not read Java Applets. You need either Netscape or Internet Explorer. If you are using one of these browsers, you need to have Java enabled.

You can replace that text with any text or HTML code you want visitors without Java to see. For example, it can be a message saying they don't have Java or it can be an animated gif with a link.

I wait until all the images are loaded before attempting to display them. That's why it might not be displayed right away. Netscape will start the display right away. Internet Explorer sometimes waits until it cycled through all the images before displaying anything. On both browsers, the first time the images are displayed they might be choppy. However on subsequent passes they look great. Also if you make the images very large, they will take longer to draw and slow down the animation.

Visit my home page for more shareware programs.

Check my home page to see if there is a later version of this applet.

Send me your questions, comments, suggestions.