Replace the default right-click menu used by the browser

Top  Previous  Next

You can replace the default right-click menu of your browser with your own menu!

 

Just be aware that this feature is supported by IE 5+, NS 6+ and Mozilla 1+ browsers only. In older browsers the default browser menu will appear instead.

 

To use this feature please follow the instructions below:

 

First, you should not forget to set the <Positioning> property to "Manually Trigger Groups as popup menus" before you compile the menu.

 

Compile the popup menu (eg: as popup_rightclick.js) and link it to your HTML page.

 

Open your web page(s) and include the following HTML code in the HEAD section (between the <head> and </head> tags):

 

<script>

function awmShowMenu(x,y,z,v){}

document.oncontextmenu = rightclickmenu;

function rightclickmenu(e) {if (document.all) {awmShowMenu('rightCLICK',event.clientX+document.body.scrollLeft,event.clientY+document.body.scrollTop); return false;}

if (navigator.userAgent.indexOf('Gecko')>-1) {awmShowMenu('rightCLICK',e.pageX,e.pageY); return false;}}

</script>

 

 



DHTML menu builder
Replace the default right-click menu used by the browser
Javascript menu software
How Do I,How Do I Replace the default right-click menu used by the browser,Right-click menus
Drop-down menu maker