<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<TITLE>right click base popup</TITLE>
<META content="MSHTML 5.50.4522.1800" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><SPAN class=429102916-11122001><FONT face=Arial color=#0000ff size=2>thanks
a lot, I'll try this immediately !!!</FONT></SPAN></DIV>
<BLOCKQUOTE dir=ltr style="MARGIN-RIGHT: 0px">
<DIV class=OutlookMessageHeader dir=ltr align=left><FONT face=Tahoma
size=2>-----Message d'origine-----<BR><B>De :</B> Dan Costea
[mailto:costea.dan@ssi-schaefer.ro]<BR><B>Envoyé :</B> mardi 11 décembre
2001 17:25<BR><B>À :</B> javascript@LaTech.edu<BR><B>Objet :</B> Re:
[Javascript] right click base popup<BR><BR></FONT></DIV>
<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> </DIV>
<DIV><FONT face=Arial size=2><body onContextMenu="return
false"></FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </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> </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> </DIV>
<DIV><FONT face=Arial size=2><body onContextMenu="return
event.ctrlKey"></FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </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> </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 !! ;-))</FONT>
</P></BLOCKQUOTE></BLOCKQUOTE></BODY></HTML>