strOut="<script language='javascript'>";
strOut+="/n"+" if (!window.opener || window.opener!='login'&&window.name!='EIS')";
strOut+="/n"+" {";
strOut+="/n"+" window.opener = 'login';";
strOut+="/n"+" var feature = 'scrollbars=no,menubar=no,resizable=no,location=no,status=no,toolbar=no';";
strOut+="/n"+" var win = window.open('login.jsp','EIS',feature);";
strOut+="/n"+" win.resizeTo(screen.width,screen.height);";
strOut+="/n"+" win.moveTo(0,0);";
strOut+="/n"+" window.close();";
strOut+="/n"+" }";
strOut+="/n"+"</script>";
strOut+="/n"+"<script language='javascript'>";
strOut+="/n"+" function FocusTextBox(page)";
strOut+="/n"+" {";
strOut+="/n"+" document.all(page).focus();";
strOut+="/n"+" }";
strOut+="/n"+"</script>";
Javascript打开窗口
最新推荐文章于 2023-06-13 14:04:06 发布