Gossamer Forum
Home : Products : Links 2.0 : Discussions :

javascript target="_blank

Quote Reply
javascript target="_blank
Hello, Where do I put target="_blank
in this javascript to open a new window, I have tried the obvious places to no avail.
<SCRIPT LANGUAGE=JavaScript SRC=http://affiliates.excite.com/affiliates/?section=newstop></SCRIPT>
Quote Reply
Re: javascript target="_blank In reply to
Try putting this in between your head tags.

<script language="JavaScript" type="text/javascript">
function openNew(url) {
var win = window.open(url, "aff", "alwaysRaised,status,scrollbars,height=225,width=400");

And use this for your link.

<a href="javascript penNew(http://affiliates.excite.com/affiliates/?section=newstop')">affiliates</a>


PS replace the smiley with an o

[This message has been edited by chmod (edited September 18, 1999).]