Open link in New window instead of main window

I have the following code that will make a table cell "hyperlinkable" Instead of the hyperlinked page opening in the same window, I'd like the page to open in a new window. Could someone please tell me how to modify this code so when the link is pressed, it will open a new window?<br />
<br />
Thanks!!<br />
<br />
<table><br />
<tr><br />
<td class="row1" width="100%" style="cursor:hand; padding: 30px; border: 1px solid black;" onclick="window.location.href='http://www.webdeveloper.com/forum/archive/index.php/linked_page.html'">THIS IS CONTENT</td><br />
</tr><br />
</table><!--content--><a href=http://www.webdeveloper.com/forum/archive/index.php/"page.html" target="_new">Link</a><br />
<br />
<br />
That's what you should be using. There's no need for your code, a tags are meant for it. They can cover the whole cell, and you can style them accordingly. Also, never use JavaScript for links, it's inaccessible.<br />
<br />
*EDIT*<br />
Fine, since you'll probably still want it, <br />
<br />
onclick="window.open('linked_page.html')"<!--content-->I need the entire table cell to be hyperlinked, not just text that is in it.<!--content-->Thanks for the edit! IT works great.<!--content-->
 
Back
Top