出现如下错误:A Runtime Error has occurred , line 18 error:Accessis denied.
出现如下错误:A Runtime Error has occurred , line 18 error:Accessis denied.
代码如下:
<html>
<head>
<meta name="GENERATOR" content="Microsoft FrontPage 4.0">
<meta name="ProgId" content="FrontPage.Editor.Document">
<title>New Page 1</title>
</head>
<SCRIPT LANGUAGE=javascript>
function newwin(winurl)
{
var b,url;
b=0;
url = winurl+"?b="+b;
var a=window.open(url,"iFocus","targe=_self,directories=yes,fullscreen=0,location=1,menubar=1,resizable=1,scrollbars=1,status=1,toolbar=1,top=0,left=0");
self.opener=null;
self.close();
a.moveTo(0,0); 《===================错误处!!!!!!!
a.resizeTo(screen.Width,screen.Height);
a.focus();
}
</script>
<BODY onload="newwin('iFocus.htm')">
</BODY>
</html>
请教各位大虾!!!!!