Hallo Klaus,

thanks for the info.

i tried your example in ff2.0.0.1 and opera 9.10 but Alert double click never 
fires.

any idea?

thanks
stefan

> 
> http://www.w3.org/TR/DOM-Level-2-Events/events.html
> 
> So you could try to handle single and double click with the click event 
> via the event.detail property:
> 
> $('#click-me').bind('click', function(e) {
>      if (e.detail == 2) {
>          alert('Double click');
>      } else if (e.detail == 1) {
>          alert('Single click');
>      }

> });
> 
> There is no double click in the specification by the way.
> 
> 
> -- Klaus
> 
> _______________________________________________
> jQuery mailing list
> discuss@jquery.com
> http://jquery.com/discuss/


--
Stefan Kilp
SK-Software, Entwicklung & Beratung

email: [EMAIL PROTECTED]

fon  : +49 6151 93344-0
fax  : +49 6151 93344-20
Herta-Mansbacher-Str. 98
64289 Darmstadt, Germany.
-----------------------------------------------------


_______________________________________________
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/

Reply via email to