it seems that i was not verry clear in the explenation

if i use document.body.oncontextmenu = ContextShow;

the browsers contextmenu is not showen because i return false in the
ContextShow function.

when i do the same with document.body, 'contextmenu',

the browser window and my context menu are showen, so the return false in
ContextShow does not seem to work ...

Any ideas how to fix this?


On Thu, Oct 2, 2008 at 8:51 PM, Justin Perkins <[EMAIL PROTECTED]>wrote:

> On Thu, Oct 2, 2008 at 12:47 PM, kangax <[EMAIL PROTECTED]> wrote:
> > It could, if you are using an older version. Latest one doesn't check
> > against a list of event names, so observing an event on document.body
> > should work.
> Yes it does. I thought it was only a window event but sure enough it
> works fine on the body as well.
> -justin
> >

You received this message because you are subscribed to the Google Groups 
"Prototype &" group.
To post to this group, send email to
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at

Reply via email to