<html>
<head>
<script type="text/javascript">
function open_win(){
window.open("http://www.java2s","_blank",
"toolbar=yes, location=no, directories=no,
status=no, menubar=no, scrollbars=yes,
resizable=yes, copyhistory=yes, width=600, height=600")
}
</script>
</head>
<body>
<form>
<input type="button" value="Open Window" onclick="open_win()">
</form>
</body>
</html>
|