/ Published in: jQuery

Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
$(function() { $("#area").prettypiemenu({ buttons: [ "ui-icon-minus", "ui-icon-plus", "ui-icon-close" ], onSelection: function(item) { alert (item + ' was clicked!'); } }); $( "#testbtn" ).button({ icons: {primary:"ui-icon-gear"}, text: false }) .click(function(event) { event.preventDefault(); $("#area").prettypiemenu("show", {top: event.pageY, left: event.pageX}); return false; }); });
URL: http://www.cs.tut.fi/~laine9/demo/ppmenu/piedemo.html
Comments
