apChoiceMenu Applet
apChoiceMenu presents a well-known pop-up menu of choices.
As well as apPopupMenu, the apChoiceMenu can overlap not only HTML contents but
also can pop up over form elements, frames, flash, and even go
over the browser window. The applet supports fonts, colors, sound, javascript calls,
target frames. Very small (~2kb), easy-to-use and free.
Java source code is available.
Main features
- Submenus can overlap any number of frames as well as other HTML contents - see frame example
- Menu structure can be loaded from an external txt file
- Ability to call javascripts - see javascript call example and
javascript tips
- Color parameters for text and background
- Ability to use system colors of OS for color parameters
- User-definable font style, font size and font face
- Support for target frames - see frame example
- Click sound
- User-definable delimiter for "menuItems" param
- User defined browser's status string
- User definable default selected item
Examples
- Simple menu - menu with click sound and system colors
- Javascript call example - illustrates ability to call javascripts
- Frame example - shows using menu with frames and ability to overlap frame and window edges
Setup
- Place the .jar file in the directory containing the HTML document into
which you want to insert the applet or into a different directory, and correct
the path in the ARCHIVE= attribute (or add the appropriate CODEBASE= attribute). It's not necessary to
have the .class file if you have the .jar one - see FAQ.
- Add the applet tag to your HTML document in the position you want menu
to appear. Usually the easiest way to customize the applet is cut and paste the
applet tag information used in the examples
and modify it to fit your web page.
If you see a "class
not found" message, this means what your browser can't find the
.jar file specified. This may mean a spelling or Case seNSitiVe mistake in the
CODE= or ARCHIVE= attribute, the wrong location in the CODEBASE= attribute, or
that you've forgotten to copy the .jar file to the necessary directory.
- To add frame support edit "menuItems" parameter as shown: {ItemText,ItemLink,Frame}.
So {Home,home.htm,left} would display "Home" and make the frame called
"left" go to "home.htm" on clicking. See also frame example.
- To enable Javascript support see javascript tips and
javascript call example.
Register
Apycom Java Menu Applets may be used freely on non-commercial and non-profit sites.
However free version displays Apycom url in the browser's status bar.
It is a violation of
license agreement to
intentionally overwrite this message. The applets will disable this item, when running from
local drive only.
If you want to use the applets on a commercial site you need to order
the registered version of the applet. The purchased version does not display the Apycom
url. Also you can order the Java source code of the applets. For more informations see applets' order page.
|