The Parameters Explained             

Each of AniBanner's parameters is explained below, with reference to the clickable example code in the left frame: you can click a parameter from the example code to jump to its explanation, or simply read this page from top to toe. As you read, click the red references to other parameters to jump to them.

Most of AniBanner's parameters have a default setting which is mentioned below. If the default setting is the option you'd like to use in your own implementation, you can leave that parameter out of your HTML code.


Applet Width & Height
Setting the dimensions of AniBanner is easy: just make them exactly match the dimensions of your main image (FgImage). If the applet's dimensions differ, that image will be scaled to fit which may distort its appearance.

BgColor
The applet's background color as a hex triplet. If your background image (BgImage) uses GIF transparency, this will be the color that will replace its transparent color. If the background image is a JPEG, or a GIF without transparency, your setting for BgColor will have no effect. The default is FFFFFF (white).

BgImage
The name (and relative or absolute location, if necessary) of the GIF or JPEG background image to be used. This is sandwiched between the BgColor and the FgImage, and scrolled slowly from left to right repeatedly. If this image uses GIF transparency, its transparent color will be replaced by your choice of BgColor.

Avoid using a BgImage that's much smaller than the applet dimensions, since it will be scaled to match and could start to appear grainy.

A TIP:  For smoother animation, particularly with color gradients and 'non-pictorial' images, do the following after creating your BgImage. Create a new blank image of the same height and double the width. Paste the FgImage on the left side of this new image. Make a mirrored copy of your FgImage and paste it in on the right, creating a seamless joint.

FgImage
The name (and relative or absolute location, if necessary) of the GIF or JPEG foreground image to be used. This should be a GIF image with transparency. If it isn't, of course, you won't see the BgImage through it, so you've just found a weighty way of displaying a static image! Make sure your applet dimensions exactly match the dimensions of this image.

MouseReactive
This parameter gives a choice of three non-case-sensitive values: no, faster or start. The default is no.

URL
An optional URL to which the applet should link when clicked. This can be an absolute or relative URL, but there's no requirement for the applet to act as a link. If the applet is acting as a link, the URL will be shown in the browser's status bar along with the words 'Link to' when the mouse moves over it.

Target
Specifies a frame- or window-name into which the URL link should be opened. If a URL parameter exists and has no Target parameter, the target used will be _self.

Remember that frame names are case-sensitive. If you're trying to make something open in a frame and your browser persists in opening a new window for it instead, check that the case and spelling of the name match in the Target parameter and in your HTML <frameset> tag.


































.