|
|
# class2context
javascript library, to add context menu functionallity to html page
Demo: class2context_DEMO.html
![Alt text](https://raw.githubusercontent.com/idoctnef/class2context/master/demoScreen.png "downlad and open the demo to test it")
### Usage
First, include the files ```html <link rel='StyleSheet' type='text/css' href='class2context.css'> <script src='class2context.js'></script> ```
Then, for each class, call the function ```js class2context('className', "title for contextmenu", [["option 1", "function1()"], ["option 2","function2()"]]); ```
|