JavaScript contextmenu

The Jsuites.contextmenu is a simple javascript contextmenu that helps to provide a custom right click contextmenu over HTML elements in a web-based application.

Contextmenu as a webcomponent

About CTRL+A
Go to Jspreadsheet Pro website

Other option

Contextmenu associate in the boxes below


Source code

<html>
<script src="https://jsuites.net/v3/jsuites.js"></script>
<script src="https://jsuites.net/v3/jsuites.webcomponents.js"></script>
<link rel="stylesheet" href="https://jsuites.net/v3/jsuites.css" type="text/css" />

<jsuites-contextmenu id='contextmenu-webcomponent'>
  <div onclick="alert('About is clicked')"><a>About</a> <span>CTRL+A</span></div>
  <div onclick="window.open('https://jspreadsheet.com/v7')">Go to Jspreadsheet Pro website</div>
  <hr>
  <div>Other option without action</div>
</jsuites-contextmenu>

<div aria-contextmenu-id="contextmenu-webcomponent"
    style="border:1px solid gray;width:400px;height:300px;"></div>
</html>