在一个带有php代码的html文件中(intereuropeco1.php)我写道: prepUnuaLabrp(lg)函数由包含:
加载在与intereuropeco1.php位于同一目录的IMW.js中,我写道:
function prepUnuaLabrp (lg)
if (lg == "esp") {
enh='text1';
} else {
enh='text2';
}
testpagho = window.open ("" , "GT", specif) ;
tekstF = '<HTML><BODY>' + enh + '</BODY></HTML>';
testpagho.document.write(tekstF);
testpagho.document.close();
testpagho.focus();
}
但 testpagho 不会出现。 (特定定义为 specific = specificB +“,left =”+ mldkr +“,width =”+ largh +“,scrollbars = 0”with with specifB =“toolbar = 0,location = 0,directories = 0,menubar = 0,status = 0,resizable,height =”+ alto +',top =“+ supro; 并且所有变量mldkr,largh,alto和supro都已正确初始化。)