<html>
<head>
<script type="text/javascript">
//<![CDATA[
function popupform(f) {
var url = ""
var width = 300;
var height = 200;
var screenX = (screen.width/2 - width/2);
var screenY = (screen.height/2 - height/2);
var features= "width=" + width + ",height=" + height;
features += ",screenX=" + screenX + ",left=" + screenX;
features += ",screenY=" + screenY +",top=" + screenY+", toolbar=1,scrollbars=1,location=1,statusbar=1,menubar=1,resizable=1";
var mywin=window.open(url, "popup", features);
mywin.focus();
f.submit();
}
//]]>
</script>
</head>
<body>
<form method="get" action="fil2.html" target="popup">
<input type="hidden" name="hidden1" value="value1">
<input type="hidden" name="hidden2" value="value2">
<input type="hidden" name="hidden3" value="value3">
<input type="submit" value="Click" onclick="popupform(this.form)" >
</form>
</body>
</html> |