christheprogrammer
Programmer
Hi, this is the code for an ASP.NET page (aspx extension) but I have also tried to change the extension to .htm and I get the same browser error (Error - Page cannot be displayed) The file exists and has the right permissions. Am I missing something syntactical or what?
<HTML>
<HEAD>
<title>map</title>
<script language="javascript">
function openwindow(){window.open(" "my_new_window", "toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=no,resizable=no,copyhistory=yes,width=400,height=400"
}
</script>
</HEAD>
<body onload="openwindow()">
<form runat="server">
</form>
</body>
</HTML>
Chris says: "It's time for a beer."
<HTML>
<HEAD>
<title>map</title>
<script language="javascript">
function openwindow(){window.open(" "my_new_window", "toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=no,resizable=no,copyhistory=yes,width=400,height=400"
}
</script>
</HEAD>
<body onload="openwindow()">
<form runat="server">
</form>
</body>
</HTML>
Chris says: "It's time for a beer."