Head:
Code:
<script language="javascript" type="text/javascript">
<!--
function openwindow(file,title,width,height)
{
	window.open(file,title,config='scrollbars=yes,resizable=no,width,height')
}
//-->
</script>
Body:
Code:
<p><form action="" method="post">
<input type="button" name="menu" value="Restaurant" onclick="openwindow(menu_1.php','Menu','width=600','height=600')" />
<form></p>
When the button is clicked, a new window opens. However, it is not 800x600 pixels.

I need to be able to specify the width and height in an onclick event because there will be multiple buttons on a page and all of the new windows will need to be of various dimensions.