The example code in IE6 is as follows:
Window.opner = null;
window.close ();
The example code in IE7 is as follows:
Window.opner = null;
Window.open ("", "_ Self");
window.close ();
If you want to display the full screen (remove the information of the IE toolbar, address bar, menu bar, etc.), you can only use Window.open (); method. If the first page is displayed in full screen, you need to set a transit page. The transit page code is as follows: (you don't have to write anything in Body)
Copy code code as follows:
<head>
<Title> </title>
<script type = "text/javascript">
function openwindow () {
Window.open ('POS_SEARCH.HTM', 'Newwindow', 'FullScreen = 1, TOP = 0, Left = 0, Toolbar = No, Menubar = no, ScrollBars = no, LOCATION = no, status = no ');
Window.opner = null;
Window.open ("", "_Self");
window.close ();
}
</script>
</head>
<body only = "openwindow ()">
</body>
</html>