Welcome to WebmasterWorld Guest from 18.104.22.168 , register , free tools , login , search , subscribe , help , library , announcements , recent posts , open posts Subscribe and Support WebmasterWorld
modal dialogs and ondoubleclick nickwkg msg:607485 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.
tedster msg:607486 7:34 pm on Mar 5, 2001 (gmt 0)
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 msg:607487 9:30 pm on Mar 6, 2001 (gmt 0)
You will never get an ondoubleclick without having already received an onclick. You cannot make them do two separate things.