XTOOLBAR JAVASCRIPT OBJECT
This object groups and controls the viability and position of an unlimited number of xMenus.
Try and click on a top level menu item (Above) and watch the menu expand
then if there is a submenu click on it and another menu will appear,
keep doing this until the last menu is reached.
The menu collapses when a leaf item is activated or when the mouse cursor is not
occupying the menus area for half a second. (change delay with static filed xMenu.COLLAPSE_ACTIVE_TIME.)
The menu is fully customizable, the following attributes can be set:
- Automatic expansion
- Menu Width
- Left margin Padding
- Horizontal gap between menus
- All Colors: border,text, mouse over/out
- Border Size
- Menu Text
- Menu Icon
- xToolBar's Position (Adjust through xToolBar.js)
Change attributes when calling the xMenu constructor or change the default attributes in xMenu.js.
Override xMenu's onmouseup event to capture mouse clicks or add hyperlinks in the text of the menu.
Code!
xLayer in Action|
Fixed Position Javascript Object|
Toolbar Object|
Menu Object|
Restricted Area Object|
Animated Button Object|
Drag Object|
Internal Frame Object|
Number Mask Object|
Sound Object
You may use this javascript for free!
Home