apMenu Parameters |
|
Main parameters for apMenu
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 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 |
Optional parameters for apMenu
Name | Value | Default | Example |
backPic | Background image | 3, 4 | |
isHorizontal | Menu direction | false | 2, 4 |
fadeDelay | Delay (ms) between fade steps | 20 | 4 |
fadeSteps | Amount of fade steps | 30 | 2, 4 |
fadeType | Fade type (0 - normal, 1 - from center to left and right, 2 - from center up and down, 3 - halves of item to left and right, 4 - halves of item up and down, 5 - to center, 6 - to center and to left, 7 - to center and to right, 8 - to center vertical, 9 - to center horizontal, 10 - vertical waves, 11 - horizontal waves to right, 12 - horizontal waves to left) | 0 | 0 - 1, 1 - 3, 2 - 5, 3 - 4, 4 - 2 |
alignText | Text alignment ("left", "center", "right") | left | 3, 5 |
status | Status bar appearance ("text", "link") | text | 2, 5 |
clickSound | Click sound | ||
overSound | Mouse over sound | ||
key | Registration keycode |