Hi Thierry,

> This short script doesn't name the window, so it should spawn multiple
> popups.
> I'd use: onclick="window.open(this.href,'myPopup'); return false;"
> As a side note, some blockers kill these popups.

The window.open function returns true if successful, otherwise false.
You could use the return value to determine whether or not you want to
stop the href attribute being honoured to cater for blockers.

onclick="return !window.open(this.href);"

Best regards,

Gez

-- 
_____________________________
Supplement your vitamins
http://juicystudio.com
******************************************************
The discussion list for  http://webstandardsgroup.org/

 See http://webstandardsgroup.org/mail/guidelines.cfm
 for some hints on posting to the list & getting help
******************************************************

Reply via email to