|
|
|
|
MenuAddPopup (Function) In french: MenuAjoutePopup Transforms a menu option of a page in order for this option to open a popup.
MenuAddPopup(MENU_Main.OPT_Products, POPUP_Products)
Syntax
MenuAddPopup(<Option name> , <Popup to display> [, <Position>])
<Option name>: Option name Name of the menu option that must open a popup. This menu option must be a simple menu option. It must not open a sub-menu or be a separator option. <Popup to display>: Popup name Name of the popup that will be displayed by the option. <Position>: Optional integer constant Opening position of the popup:
| | menuPopupBottomCenteredMenu | Opens the popup below the menu and centers it on the entire width of the menu (two popups of identical size and opened by two different options are displayed at the same location). | menuPopupBottomLeft (Default value) | Opens the popup below the menu option and aligns it on the left side of the menu option. | menuPopupBottomRight | Opens the popup below the menu option and aligns it on the right side of the menu option (the popup id displayed to the left). | menuPopupTopLeft | Opens the popup on the left of the menu option and aligns it on the top side of the menu option (this constant is mainly used with the vertical menus). | menuPopupTopRight | Opens the popup on the right of the menu option and aligns it on the top side of the menu option (this constant is mainly used with the vertical menus). |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|