To define a  http://code.google.com/p/jquery-easyui/ easyui  menu, prepare a
menu markup:

        <div id="mm" style="width:120px;">
                <div>New</div>
                <div>Open</div>
                <div icon="icon-save">Save</div>
                <div class="menu-sep"></div>
                <div>Exit</div>
        </div>

Now build the menu:

$('#mm').menu();

Remember the menu is hidden, show the menu by run follwing code:

$('#mm').menu('show', {
  left:100,
  top:100
});

-- 
View this message in context: 
http://old.nabble.com/create-a-menu-in-jQuery-easyui-tp27237579s27240p27237579.html
Sent from the jQuery General Discussion mailing list archive at Nabble.com.

Reply via email to