»
EnglishFrenchVietnamese

Print - Right Click Context Menu script - JavaScriptBank.com

Full version: jsB@nk » Menu » Right click menu » Right Click Context Menu script
URL: https://www.javascriptbank.com/right-click-context-menu-script.html

Right Click Context Menu script © JavaScriptBank.comA different script to display a custom JavaScript menu in place of the default context JavaScript menu when you right click the mouse, with this JavaScript.

Full version: jsB@nk » Menu » Right click menu » Right Click Context Menu script
URL: https://www.javascriptbank.com/right-click-context-menu-script.html



CSS
<STYLE>#ie5menu {BACKGROUND-COLOR: #000000; BORDER-BOTTOM: 5px solid; BORDER-LEFT: 5px solid; BORDER-RIGHT: 5px solid; BORDER-TOP: 5px solid; CURSOR: crosshair; FONT-FAMILY: Verdana; LINE-HEIGHT: 20px; POSITION: absolute; VISIBILITY: hidden; WIDTH: 250px}.menuitems {PADDING-LEFT: 15px; PADDING-RIGHT: 15px}</STYLE><!--    This script downloaded from www.JavaScriptBank.com    Come to view and download over 2000+ free javascript at www.JavaScriptBank.com-->


JavaScript
<SCRIPT language=JavaScript>var display_url=0function showmenuie5(){ie5menu.style.left=document.body.scrollLeft+event.clientXie5menu.style.top=document.body.scrollTop+event.clientYie5menu.style.visibility="visible"return false}function hidemenuie5(){ie5menu.style.visibility="hidden"}function highlightie5(){if (event.srcElement.className=="menuitems"){event.srcElement.style.backgroundColor="highlight"event.srcElement.style.color="ff0000"if (display_url==1)window.status=event.srcElement.url}}function lowlightie5(){if (event.srcElement.className=="menuitems"){event.srcElement.style.backgroundColor=""event.srcElement.style.color=""window.status=''}}function jumptoie5(){if (event.srcElement.className=="menuitems")window.location=event.srcElement.url}</SCRIPT><!--    This script downloaded from www.JavaScriptBank.com    Come to view and download over 2000+ free javascript at www.JavaScriptBank.com-->


HTML
<BLOCKQUOTE>  <DIV align=center><FONT color=#ff0000 face=vni-times  size=2><B><!--[if IE]>  <DIV id=ie5menu onclick=jumptoie5() onmouseout=lowlightie5()   onmouseover=highlightie5()>  <DIV class=menuitems url="http://www.javascriptbank.com">JavaScriptBank.com</DIV>  <DIV class=menuitems url="http://www.javascriptbank.com">Link item #</DIV>  <DIV class=menuitems   url="http://http://www.javascriptbank.com">Link item #</DIV>  <DIV class=menuitems url="http://www.javascriptbank.com">Link item #</DIV>   <DIV class=menuitems url="http://www.javascriptbank.com">Link item #</DIV>  <![endif]--></B></FONT></DIV></BLOCKQUOTE><BLOCKQUOTE></BLOCKQUOTE><DIV align=center><FONT color=#ff0000 face=Verdana><SCRIPT language=JavaScript1.2>document.oncontextmenu=showmenuie5if (document.all&&window.print)document.body.onclick=hidemenuie5  </SCRIPT><!--    This script downloaded from www.JavaScriptBank.com    Come to view and download over 2000+ free javascript at www.JavaScriptBank.com-->