Forum Moderators: open

Message Too Old, No Replies

modal dialogs and ondoubleclick

         

nickwkg

5:44 pm on Mar 5, 2001 (gmt 0)



Aargh! I have a button which needs to get onclick and ondoubleclick events, Problem is that onclick opens a modal dialog using window.showModalDialog and prevents the original window getting the ondoubleclick event.

Any ideas?

tedster

7:34 pm on Mar 5, 2001 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



I know that onDblClick can be a bear -- some (all?) versions of Netscape 4 for Unix and Mac don't support it.

I never tried to program two event handlers for one object, so I feel pretty much at sea on this one. Anyone have a handle on this?

Xoc

9:30 pm on Mar 6, 2001 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



You will never get an ondoubleclick without having already received an onclick. You cannot make them do two separate things.