apPopupMenu Parameters
Home Parameters Examples Download Ordering Contact

Main parameters for apPopupMenu

Name Value Default
backColor Background color (hex value) CAFEBA
backHighColor Mouseover background color (hex value) DAFECA
fontColor Font color (hex value) 004000
fontHighColor Mouseover font color (hex value) 00BB00
font Font parameters separated by comma:
Font type
Font size
Font style (0 - plain, 1 - bold, 2 - italic, 3 - bold italic)

Helvetica
12
0
menuItems Menu items parameters separated by "{}" and comma:
Item text
Separator - Item text starts with "-" symbol; SubItem text starts with "|" symbol; for more info see examples
Item link
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 - see using apButtonMenu with frames
 

Optional parameters for apPopupMenu

Name Value Default
isHorizontal Menu direction false
buttonType Button type (0 - no buttons, 1 - flat buttons with mouseover effect, 2 - flat buttons w/o mouseover effect, 3 - FAT buttons with mouseover effect, 4 - FAT buttons w/o mouseover effect, 5 - flat buttons with FAT buttons mouseover effect) 1
alignText Text alignment ("left", "center", "right") left
status Status bar appearance ("text", "link") link
key Registration keycode