Spiderscript Home
Class Index | File Index

Classes




Spiderscript Home
Class Index | File Index

Classes




Class SS.control.menu

Menu. Hieratical menuing.
Defined in: SS.control.menu.js.

Class Summary
Constructor Attributes Constructor Name and Description
 
Field Summary
Field Attributes Field Name and Description
 
css
Cascading Stylesheet to apply to this menu
 
id
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 Summary
Method Attributes Method Name and Description
 
Close menu.
 
Renders the menu on the page.
Class Detail
SS.control.menu()
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

Documentation generated by JsDoc Toolkit 2.1.0 on Wed Sep 30 2009 09:31:09 GMT+0100 (BST)