On Oct 8, 5:30 am, Thomas Broyer <[EMAIL PROTECTED]> wrote:
> On 8 oct, 08:27, Chris <[EMAIL PROTECTED]> wrote:
>
> > I am trying to override the middle button click on FF2.  I can capture
> > the middle button mouseup event; but it seems that the default FF
> > action of opening the link in a new window/tab is not stopped.
>
> What happens if you preventDefault the "click" event?

Thanks for the idea.  preventing and/or canceling the click event
doesn't work either.

I did some digging and found this article which states the middle
click can not be suppressed in FF.

http://unixpapa.com/js/mouse.html

Guess I'll have to figure out some other mouse/key combination to have
a single click for opening a new window.

Chris....
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" 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/Google-Web-Toolkit?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to