Return to Snippet

Revision: 40643
at February 4, 2011 19:31 by Iban


Initial Code
$(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;
      }); 
});

Initial URL
http://www.cs.tut.fi/~laine9/demo/ppmenu/piedemo.html

Initial Description

                                

Initial Title
Pretty Pie Menu

Initial Tags

                                

Initial Language
jQuery