Class SS.control.menu
Menu. Hieratical menuing.
Defined in: SS.control.menu.js.
| Constructor Attributes | Constructor Name and Description |
|---|---|
| Field Attributes | Field Name and Description |
|---|---|
|
Cascading Stylesheet to apply to this menu
|
|
|
Identifier of the menu control.
|
|
|
Open menu on onmouseover event instead of onclick (default).
|
|
|
= ["vertical" | "horizontal"].
|
|
|
Flag to indicate if this menu is a sub menu.
|
|
|
Flag to indicate whether or not the menu is currently visible.
|
| Method Attributes | Method Name and Description |
|---|---|
|
close()
Close menu.
|
|
|
render()
Renders the menu on the page.
|
Field Detail
css
Cascading Stylesheet to apply to this menu
id
Identifier of the menu control.
mouseover
Open menu on onmouseover event instead of onclick (default).
orientation
= ["vertical" | "horizontal"]. Controls the direction of the menu.
submenu
Flag to indicate if this menu is a sub menu. I.e. has a parent menu.
visible
Flag to indicate whether or not the menu is currently visible. Overrides style="display:none;" rule on initial render.
Default = true.
Method Detail
close()
Close menu. Go through all child menus and check to see if they have a sub menu.
If they do, close that sub menu by calling the close function on each menu item
- Returns:
- null
render()
Renders the menu on the page.
- Returns:
- null
