Perhaps
if ( 2 == evt.detail ) { ... }
will run
Michel
--- In [email protected], "Doug Schepers" <[EMAIL PROTECTED]>
wrote:
>
> Hi, Doug-
>
> Yes, there is a workaround, just as you suggest:
>
> if ( 2 == evt.details ) { ... }
>
> Regards-
> Doug
>
> [EMAIL PROTECTED]
> www.vectoreal.com ...for scalable solutions.
>
> run2bmi21 wrote:
> |
> | I noticed today, while doing some JavaScript coding, that ASV
> | 3.0 seems to ignore the ondblclick event. Has anyone else
> | had a similar experience? The onclick event works fine. If
> | ondblclick really is ignored by ASV 3, does anyone have a
workaround?
> |
> | I found this at the W3C site
> | (http://www.w3.org/TR/2000/CR-SVG-20000802/changes.html)
> |
> | "The ondblclick event has been removed as it is not part of
> | DOM2 and is redundant with the click event, which provides an
> | indication of the number of clicks as part of its detail
argument."
> |
> | Does this mean I have to query an event property? Something
like...
> |
> | var clicks = evt.numberOfClicks;
> | if ( clicks == 2 ) {
> | .
> | .
> | .
> |
> | Thanks,
> | Doug
> |
>
------------------------ Yahoo! Groups Sponsor --------------------~-->
Get Bzzzy! (real tools to help you find a job). Welcome to the Sweet Life.
http://us.click.yahoo.com/KIlPFB/vlQLAA/TtwFAA/1U_rlB/TM
--------------------------------------------------------------------~->
-----
To unsubscribe send a message to: [EMAIL PROTECTED]
-or-
visit http://groups.yahoo.com/group/svg-developers and click "edit my
membership"
----
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/svg-developers/
<*> To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/