Glossary Item Box
The control forms the main (first level) menu of the site.
You can form menu using JavaScript or HTML code. It is possible to select current menu item (the one where user is at this moment). Also function receives the attribute whether the user is on a main page of the site.
Client-side API for menu creation by script (if CreateMenuUsingScript = true):
| Function or variable | Description |
|---|---|
CMS_MainMenu_ItemCount |
The variable contains number of items count |
CMS_MainMenu_GetBegin() |
Function for begin menu forming |
CMS_MainMenu_GetEnd() |
Function for end menu forming |
CMS_MainMenu_GetItem(menuItemGuid, name, url, desc, target, |
Function for menu item forming |
|
|
|
|
![]() |
You can change default 'CMS_MainMenu' prefix for the JS functions. Use JSFunctionsPrefix property to set new prefix. |
| See Also |
Site templates: Site templates
Menu: Menu | Context Menu | Cms Site Map Data Source | Site map | Path Menu
General: CMS architecture
© 2005-2007 Astron Digital Ltd. All Rights Reserved.