萬盛學電腦網

 萬盛學電腦網 >> 網頁制作 >> 網頁設計 >> javascript 禁用IE工具欄,導航欄等等實現代碼

javascript 禁用IE工具欄,導航欄等等實現代碼

class="area"> 理問題時候遇到的,就順便記錄下, 
復制代碼代碼如下:
function OnOpenWin() { 
if (window.name != "OAopenWindow") { 
win = window.open("login.aspx", "OAopenWindow", "toolbar=no, menubar=no, scrollbars=no, resizable=yes,location=no,status=no,width=" + (screen.width - 5) + ",height=" + (screen.height - 38) + ",top=0,left=0"); 
if (win != null) { 
window.opener = null; window.open('', '_self', ''); window.close(); 

// else{ 
// document.all('div_msg').style.display='block'; 
// } 

else { 
window.moveTo(-3, -3); 
setTimeout("self.focus()", 500); 
copyright © 萬盛學電腦網 all rights reserved