September 17, 2022

Javascript Library Context Menu Functionality Library | class2context.js

class2context javascript library to add context menu functionality to an html page.

context menu html, context menu script, javascript context menu, context menu css example, javascript context menu example, jquery context menu dynamic items

How to make use of it:

Include the following files in your web page.

<link rel='stylesheet' href='class2context.css'>
<script src='class2context.js'></script>

Create a set of menu items with custom icons and functions when clicked.

array=[
  ["<img src='1.png'> Menu 1", "function1()"], 
  ["<img src='2.png'> Menu 2", "function2()"],
  ["<img src='3.png'> Menu 3", "function3()"],
];

Append the context menu to a specific container.

class2context('demo', "Menu Title Here", array);

Lightweight Context Menu Library, class2context Plugin/Github


See Demo And Download

Official Website(arnaucube): Click Here

This superior jQuery/javascript plugin is developed by arnaucube. For extra Advanced usage, please go to the official website.

Share

You may also like...

Leave a Reply

Your email address will not be published.