Demonstration of the PopUp applet

Overview

This applet displays an image which when clicked on will display a pull-down menu (implemented as a pop-up Choice button). Using the pull-down menu, the user can select a new URL to be displayed. There are a couple of options available when using this applet ..



Usage

There are a number of manditory and optional applet parameter tags. Two examples are available by viewing the source for this HTML page When selecting the applet width and height parameters make sure to leave enough room for both the pull-down menu (right-hand side) and the optional "image tip" (underneath).

Manditory imageName parameter, which is the URL of the background image to be displayed by the PopUp applet.

Manditory url1 parameter, which specifies the URL of the first item to appear in the pull-down menu. There may be more url? parameters, where the ? is replaced by an incrementing number (2, 3, 4 ..). By default, this parameter also specifies the pull-down menu item name.

Optional choice? parameter, where the ? matches a corresponding url? parameter. Overrides the pull-down menu item name.

Optional imageTip parameter, which specifies a single line of text which may appear if the mouse lingers on the image for more than one second.

Optional background parameter, which specifies the applet background colour. Usually, this is set to the same value as <body bgcolor>.


Designed and implemented by zoologic

Last updated on $Date: 1996/05/22 07:49:32 $ by $Author: andyg $