Free Web Hosting by Netfirms
Web Hosting by Netfirms | Free Domain Names by Netfirms

XMENU JAVASCRIPT OBJECT

This object allows a menu to be made with an unlimited number of submenus easily.

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:

  1. Automatic expansion
  2. Menu Width
  3. Left margin Padding
  4. Horizontal gap between menus
  5. All Colors: border,text, mouse over/out
  6. Border Size
  7. Menu Text
  8. Menu Icon
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 hyper links 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