Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/travishorn/jquery-chromecontext
Create Chrome-styled context menus (right-click menus) for any element.
https://github.com/travishorn/jquery-chromecontext
Last synced: 28 days ago
JSON representation
Create Chrome-styled context menus (right-click menus) for any element.
- Host: GitHub
- URL: https://github.com/travishorn/jquery-chromecontext
- Owner: travishorn
- Created: 2013-09-12T15:06:58.000Z (over 11 years ago)
- Default Branch: master
- Last Pushed: 2015-02-25T21:36:35.000Z (almost 10 years ago)
- Last Synced: 2024-04-13T17:27:52.571Z (9 months ago)
- Language: JavaScript
- Size: 129 KB
- Stars: 12
- Watchers: 3
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# chromeContext
[![Build Status](https://api.travis-ci.org/travishorn/jquery-chromeContext.png)](https://travis-ci.org/travishorn/jquery-chromeContext)## Description
Create Chrome-styled context menus (right-click menus) for any element.## Example usage
$('#trigger').chromeContext({
items: [
{
title: 'Hello',
onclick: function () { console.log('hello.'); }
},
{ separator: true },
{
title: 'World',
onclick: function () { console.log('world.'); }
}
]
});## Screenshot
![chromeContext screenshot](http://i.imgur.com/Truea63.png)
## Demo
See the **demo** directory in the repository or see the [online demo](http://jsfiddle.net/bupfy/1/).