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.
 
 

569 B

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()"]]);