Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

custom right click js

//The right click popup window is called the 'context menu'
element.addEventListener('contextmenu', customContextMenu);
function customContextMenu(event) {
 event.preventDefault();
 //show custom context menu here
}
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #custom #click #js
ADD COMMENT
Topic
Name
7+2 =