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)

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)

WebmasterWorld Senior Member tedster is a WebmasterWorld Top Contributor of All Time 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?


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.

Featured Threads

Hot Threads This Week

Hot Threads This Month