Using the following code i can open a window. However when the code fires to close the parent window i get the following message. I do i get it to close with out asking.
The web page you are viewing is trying to close the window
do you want to close this window
code
<html>
<head>
<title>URL Name Width Height Directories
Location Menubar Scrollbars Status Toolbar
Resizable</title>
<script language="JavaScript">
<!--
setTimeout('self.close()',5000);
//-->
</script>
<script language="JavaScript"><!--
function createWindow()
{
window.open ('testpage.htm', 'Jobsmart','menubar=no');
}
//--></script>
</head>
<body onLoad="createWindow()">
myTe
</body>
</html>
The web page you are viewing is trying to close the window
do you want to close this window
code
<html>
<head>
<title>URL Name Width Height Directories
Location Menubar Scrollbars Status Toolbar
Resizable</title>
<script language="JavaScript">
<!--
setTimeout('self.close()',5000);
//-->
</script>
<script language="JavaScript"><!--
function createWindow()
{
window.open ('testpage.htm', 'Jobsmart','menubar=no');
}
//--></script>
</head>
<body onLoad="createWindow()">
myTe
</body>
</html>