GlideMenus

Event Handlers

showMenu and hideMenu

To show the menu, call either showMenu, or actuatorMouseover. Here's an example of each:

Parameters

/** showMenu
 * event        - event
 * id           - the menu's id.
 * dir          - the direction of animation. 
 * adjX         - how far left the menu shoud be (+/-).
 * adjY         - how far down the menu shoud be (+/-).
 */
showMenu(event, id, dir, adjX, adjY);

Example

Assuming we're trying to show the menu with the id "products", we would use:

<a href='' 
  onclick='showMenu(event, "products", "s",  0, 0); return false;'
   >Products</a>

Let's see how this works so far

showMenu Example

 

*AnimTree
*Tabs
*GlideMenus
*DragLib