< script language=javascript >
< !-- '这里不写<!--应该没关系吧
var newWindow = null
function OpenWindow(htmurl) {
if (! newWindow newWindow.closed)' 这行我不太明白,缺少了吗?{ newWindow = window.open(htmurl,"newwin","toolbar=no,resiza =no,scrollbars=no,width=400,height=280"); }
else {
newWindow.focus();
}
}
//-- > '这行不用写也没关系吧
< /script >
參考答案:if (!newWindow.closed)
写成这样试试看