apImageMenu
Main parameters for apImageMenu
| Name |
Value |
Default |
| backColor |
Background color (hex value) |
CAFEBA |
| backHighColor |
Mouseover background color (hex
value) |
157000 |
| fontColor |
Font color (hex value) |
004000 |
| fontHighColor |
Mouseover font color (hex value) |
FFFFFF |
| font |
Font parameters separated by
comma:
* Font type
* Font size
* Font style (0 - plain, 1 - bold, 2 - italic, 3 - bold italic) |
Helvetica
14
0 |
| menuItems |
Menu items parameters separated by
"{}" and comma:
* Item text if Item text = "_" no item text appears
* Item link JavaScript support tips
* Target window ("_blank" - new window, " _self" - window (frame)
that contains the applet, "_parent" - parent frame, "_top" - top-level
frame, "windowName" - window (frame) named "windowName") Example - using apMenu with frames
* Inactive image
* Mouse over image
* Click image (If the "click image" isn't defined, it gets the "Mouse over image" value; if the "inactive"
or "mouse over images" aren't defined or equals "_", they get values from an appropriate "defaultImage" parameter)
|
|
Optional parameters for apImageMenu
| Name |
Value |
Default |
| defaultImage |
Images which the applet uses by default
(These values will be used if the appropriate images in "menuItems" aren't defined) separated by comma:
* Inactive image
* Mouse over image
* Click image
|
|
| backPic |
Background image |
|
| isHorizontal |
Menu direction |
false |
| alignText |
Text and image alignment ("left",
"center", "right") |
left |
| status |
Status bar appearance ("text",
"link") |
text |
| clickSound |
Click sound |
|
| overSound |
Mouse over sound |
|
| key |
Registration keycode |
|
Back to apImageMenu
New on the Java Boutique:
New Review:
Time Management Made Easy with the Quartz Enterprise Job Scheduler
Why not just use the Java timer API? This open source scheduling
API boasts simplicity, ease-of-integration, a well-rounded feature
set, and it's free!
New Applet:
Reverse Complement
Reverse Complement is a simple applet that converts DNA or RNA
sequences into three useful formats.
Elsewhere on internet.com:
WebDeveloper Java
Lots of Java information on webdeveloper.com
WDVL Java
Thorough Java resource at the Web Developer's Virtual Library.
ScriptSearch Java
Hundreds of free Java code files to download.
jGuru: Your View of the Java Universe
Customizable portal with online training, FAQs, regular news updates, and tutorials.