Javascript API Functions

Heads up! 

This archived doc is for an old version of UberMenu. 

For the current documentation, please visit the UberMenu 3 Knowledgebase

Pass the top level menu item ID selector (e.g. ‘#menu-item-15’) to control the submenus.

uberMenu_openMega( id )

Opens a mega submenu

Example
jQuery(document).ready( function($){
     
    //open the menu when clicking on a special button
    $('#my_special_button').click( function(){
        uberMenu_openMega('#menu-item-15');
    });
     
});

uberMenu_openFlyout( id )

Opens a flyout menu

uberMenu_close( id )

Closes a submenu

On this page