Using OnClick=""

Hi all<br />
<br />
Just a quick and simple one<br />
<br />
i want to make my onclick="" open in a new window like the target="_Blank" does<br />
<br />
onClick="window.location.href='http://www.MySite.com'" open in a new window<br />
<br />
Thanks for the help<br />
<br />
Jono<!--content--><a href=http://www.webdeveloper.com/forum/archive/index.php/"http://www.w3.org/" onclick="window.open(this.href,'child', 'height=400,width=300'); return false">W3C</a><br />
<br />
It's important to make sure that the link will still work for the 13% of users who do not use JavaScript and see <!-- m --><a class="postlink" href="http://devedge.netscape.com/library/manuals/2000/javascript/1.3/reference/window.html#1202731">http://devedge.netscape.com/library/man ... ml#1202731</a><!-- m --> for details concerning the use of the "window.open()" method.<!--content-->Thanks mate<br />
<br />
In the mean time i remembered about the window.open() command.<br />
<br />
Thanks again<br />
<br />
Jono<!--content-->
 
Back
Top