What happens if you observe onContextMenu?
Gareth
On Nov 30, 2007 5:05 PM, reiz6153 <[EMAIL PROTECTED]> wrote:
>
> This is my javascript code. It's valid in Firefox but invalid in IE.
> window.onload = function() {
> Event.observe(
> document,
> 'click',
> function(event) {
> if (Event.isRightClick(event)) {
> Event.stop(event);
> alert('add menu');
> }
> }
> };
> };
> >
>
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Prototype: Core" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/prototype-core?hl=en
-~----------~----~----~----~------~----~------~--~---