BTW, your example in IE6 produces following results:
for click:
Left click: You clicked with your button. Event.button = 0 and Event.which
= undefined
Right and middle click: no effect, as expected
for mousedown, as expected:
Left click: You clicked with your Left button. Event.button = 1 and
On 12/02/2008, artemy tregoubenko [EMAIL PROTECTED] wrote:
You'll be surprised that click _can_ be toggled via keyboard (FF, Opera
for sure). You may easily test this.
And my first example shows how isLeftClick is broken in IE6. I can't
forget about IE6.
Ah. Yes. on clickable objects
On 12/02/2008, artemy tregoubenko [EMAIL PROTECTED] wrote:
I don't want to break keyboard navigation only because of IE problem.
mousedown and click are both non-keyboard events.
but click is only for left button.
This is true for IE (7 on WinXPSP2) and FF (2.0.0.1 on WinXPSP2).
Here is a
On 2/12/08, Richard Quadling [EMAIL PROTECTED] wrote:
On 12/02/2008, artemy tregoubenko [EMAIL PROTECTED] wrote:
You'll be surprised that click _can_ be toggled via keyboard (FF, Opera
for sure). You may easily test this.
And my first example shows how isLeftClick is broken in IE6. I
I don't want to break keyboard navigation only because of IE problem.
On Tue, 12 Feb 2008 03:45:22 +0300, tancurrom [EMAIL PROTECTED] wrote:
I think its just because of the way JavaScript handles the click
event. Use the 'mousedown' event instead of the 'click' event and you
will get your