You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
arnau af171bf75f small improvement on changing dom solution 8 years ago
bootstrap class2context.js first commit 8 years ago
LICENSE Initial commit 8 years ago
README.md image demo added 8 years ago
class2context.css class2context.js first commit 8 years ago
class2context.js small improvement on changing dom solution 8 years ago
class2context.png class2context.js first commit 8 years ago
class2context_DEMO.html class2context.js first commit 8 years ago
demoScreen.png readme added 8 years ago

README.md

class2context

javascript library, to add context menu functionallity to html page

Demo: class2context_DEMO.html

Alt text

Usage

First, include the files

<link rel='StyleSheet' type='text/css' href='class2context.css'>
<script src='class2context.js'></script>

Then, for each class, call the function

class2context('className', "title for contextmenu", [["option 1", "function1()"], ["option 2","function2()"]]);