chris_denman
06-24-2006, 11:08 AM
Hi!
I know how to make a new window appear by using...
<script language="javascript">function newwin() { window.open("http://www.foo.com","newwin","width=250,height=300") } </script>
<a href="javascript:newwin()">New Window</a>
But in this specific instance, I want to do it using:
<a href="http://www.foo.com" target="newwin">
I remember reading that this was possible but I can't work out the script which goes in the HEAD for it!
Thanks so much for anyone who can help :)
Chris
I know how to make a new window appear by using...
<script language="javascript">function newwin() { window.open("http://www.foo.com","newwin","width=250,height=300") } </script>
<a href="javascript:newwin()">New Window</a>
But in this specific instance, I want to do it using:
<a href="http://www.foo.com" target="newwin">
I remember reading that this was possible but I can't work out the script which goes in the HEAD for it!
Thanks so much for anyone who can help :)
Chris