diff --git a/README.md b/README.md index 4b81e07..20f188a 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,19 @@ # class2context javascript library, to add context menu functionallity to html page + +Demo: class2context_DEMO.html + + +### Usage +First, include the files +```html + + +``` + +Then, for each class, call the function +```js +class2context('className', "title for contextmenu", [["option 1", "function1()"], ["option 2","function2()"]]); +``` + + diff --git a/demoScreen.png b/demoScreen.png new file mode 100644 index 0000000..197b905 Binary files /dev/null and b/demoScreen.png differ