Quote:
What I'm looking for is some code that is immune to pop-up window
blockers. Anyone know of a good workaround?
|
Well, first of all, you should rarely, if ever need to make a pop-up. Use
them only with really, really good reasons.
Otherwise, simply use an accessible javascript link:
<a href="page.html" onClick="window.open('page.html', 'windowname',
'toolbar=no,location=no,directories=no,status=no,m enubar=no,scrollbars=yes,r
esizable=yes,copyhistory=no,width=300,height=290') ;return false;">Text
Link</a>
So, even with pop-up blocking, the page will load, since you still have an
attribute in the HREF. As a bonuse, this link will work for those that
prefer to pop-up links in a new window themselves, or open a link a new tab
if using a tabbed browser.
-Darrel