[thelist] JavaScript window.open and alternative
Scott Brady
dsbrady at gmail.com
Fri Aug 20 18:24:34 CDT 2004
On Fri, 20 Aug 2004 19:09:26 -0400, john.brooking wrote
> The only solution I can think of would be to write out the JavaScript form
> of the link using JavaScript itself, as in:
>
> document.write( "<a href='javascript: window.open( ...
Forget the document.write() stuff.
You can do this:
<a href="yourUrl.html" target="_blank"
onclick="window.open(...);return false;">Your link</a>
That should do the trick.
Scott
--
-----------------------------------------
Scott Brady
http://www.scottbrady.net/
More information about the thelist
mailing list