方法之一: function NavigateToIndex()
<title>Untitled Page</title>
<script language="javascript" type="text/javascript">
function openNewWindow(url)
{
window.open(url,'window1','height=768,width=1000,status=yes,toolbar=no,menubar=no,location=no,top=0,left=0,resizable=yes','');
}
function NavigateToIndex()
{
window.open("Index.aspx","_blank","fullscreen=yes, menubar=no, resizable=no,scrollbars=yes,status=no,titlebar=no,toolbar=no");
window.opener = "X";
window.open('','_parent','');
window.close();
}
function closeWindows()
{
document.all.WebBrowser.ExecWB(45,1);
openNewWindow('Index.aspx');
}
</script>
</head>
<body onload="closeWindows();">
<form >
ddddddddddddd
</td>
</tr>
</table>
</form>
</body>
</html>