View Full Version : linking to a new window with a certain size

12-23-2003, 02:18 AM
how do i make a link so that it will open a page in a new window and have that new window be a certain size?

i tried this but it only opens the page in a full-size window, not in the size i want....

<a href="javascript:window.open('views.php', width='575', height='200');">Click Here to View Current</a>

12-23-2003, 02:50 AM
<a href="foo.html" onclick="window.open(this.href, '', 'width=575,height=200');">Click here to view current.</a>