Welcome to WebmasterWorld Guest from

Forum Moderators: incrediBILL

Message Too Old, No Replies

modal dialogs and ondoubleclick



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

Inactive Member
Account Expired


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?

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

Senior Member

WebmasterWorld Senior Member tedster is a WebmasterWorld Top Contributor of All Time 10+ Year Member

joined:May 26, 2000
votes: 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?


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

Senior Member

WebmasterWorld Senior Member 10+ Year Member

joined:Jan 18, 2001
votes: 0

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