<html>
<head>
<script type="text/javascript">
function showBox() {
userText = "My own browser text";
if (userText != null) {
userWindow = window.open("", "userTextWindow", "toolbar=0,width=200,height=200");
userWindow.document.write(userText);
userWindow.document.close();
}
}
</script>
</head>
<body>
<form action="null" method="post">
<input type="button" value="Go!" onclick="showBox()" />
</form>
</body>
</html>
|