<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD><TITLE>right click base popup</TITLE>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 5.50.4522.1800" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face=Arial size=2>If you want to get rid of the context menu, try 
this:</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>&lt;body onContextMenu="return 
false"&gt;</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>Then you can use events like onClick, onMouseDown, 
onMouseUp to call your own functions (to open a popup, a div or whatever you 
need to).</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>If you need the context menu in some cases, 
try:</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>&lt;body onContextMenu="return 
event.ctrlKey"&gt;</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>then you will have the context menu only if you 
have ctrl key pressed (this might be useful sometime).</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<BLOCKQUOTE dir=ltr 
style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
  <DIV style="FONT: 10pt arial">----- Original Message ----- </DIV>
  <DIV 
  style="BACKGROUND: #e4e4e4; FONT: 10pt arial; font-color: black"><B>From:</B> 
  <A title=FERONMA@cic-i.com href="mailto:FERONMA@cic-i.com">FERON Matthieu</A> 
  </DIV>
  <DIV style="FONT: 10pt arial"><B>To:</B> <A title=javascript@LaTech.edu 
  href="mailto:'javascript@LaTech.edu'">'javascript@LaTech.edu'</A> </DIV>
  <DIV style="FONT: 10pt arial"><B>Sent:</B> 11 December, 2001 5:49 PM</DIV>
  <DIV style="FONT: 10pt arial"><B>Subject:</B> [Javascript] right click base 
  popup</DIV>
  <DIV><BR></DIV>
  <P><FONT face=Arial size=2>when you right click on on window or an image or 
  somethin you 've got a default popup with</FONT> <BR><FONT face=Arial 
  size=2>'open in new window' etc etc...</FONT> <BR><FONT face=Arial size=2>So, 
  I would really like to get rid of this because I need the right click to do 
  something.</FONT> <BR><FONT face=Arial size=2>I tried to catch the onmouseup 
  event but it seems that it doesn't care at all.</FONT> <BR><FONT face=Arial 
  size=2>Please HEEEEELP !!&nbsp;&nbsp; ;-))</FONT> 
</P></BLOCKQUOTE></BODY></HTML>