Skip to content

JQueryCollection/jquery-ui-contextmenu

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 

Repository files navigation

jquery-contextmenu

jQuery plugin that provides a context menu (based on the jQueryUI menu widget).

Status

Pre-Alpha - not fit for production!

Features

  • Themable
  • Use delegates

Demo

Sample page

Usage

JavsScript:

$("button#split").splitbutton({
    menu: "#splitOptions",
    click: function(event){
        alert("clicked default button");
    },
    select: function(event, ui){
        var menuId = ui.item.find(">a").attr("href");
        alert("select " + menuId);
    }
});

Markup:

<button id="split">Default action</button>

<ul id="splitOptions">
    <li><a href="#action1">Action 1</a>
    <li><a href="#action2">Action 2</a>
    <li><a href="#action3">Action 3</a>
    <li><a href="#action4">Action 4</a>
</ul>

About

jQuery plugin that turns a jQueryUI menu widget into a context menu.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • HTML 46.0%
  • JavaScript 45.2%
  • CoffeeScript 8.6%
  • Shell 0.2%