Forum Moderators: open
<p ondblclick="window.open('','','width=300,height=300')">click me twice</p> I'm trying very hard to think of a sensible reason for this, but haven't come up with anything.
I've been mailing about this with toolbar-support. Their last message explained how to turn off the popup blocker for specific sites and how to prevent IE from reporting js errors - as if I wouldn't know that.
Anyone got a clue why popups triggered by ondblclick should be blocked? Or is this simply a design error?
I'm using the ondblclick event to open a popup that contains a site search form. The word the user double-clicked on automagically gets filled into the search field. Isn't that nice and easy. I guess I'll have to ask folks to have their toolbar permit popups on my site.
Alternatively popup itself will access the main window and set some variable 'PopupOpened' (defaulted to false) to true, then using timer you check that variable X seconds later and if its still false then popup probably failed.