On 12/15/06, Alex Cook <[EMAIL PROTECTED]> wrote:

 Second, you've constructed the click() function wrong… you don't need the
var handle = bit… function () { window.open(this.href, 'some_target',
'width=550, height=550'); } is all you need.

Actually, IIRC window.open returns a reference to the new window that was
just created, allowing it to be controlled by the developer. So, there's
nothing wrong with his click() function.

FYI -- Also, IIRC, window.open will return null (or false, dunno which) if
the window was somehow prevented from opening; very useful for detecting the
presence of popup blockers.

--
Aaron Heimlich
Web Developer
[EMAIL PROTECTED]
http://aheimlich.freepgs.com
_______________________________________________
jQuery mailing list
[email protected]
http://jquery.com/discuss/

Reply via email to