⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 init.js

📁 企业信息化管理系统:针对的是一个计算机配件生产公司为背景实现的。
💻 JS
字号:
//打开窗口的函数

 function switchSysBar(){
  if (parseInt(navigator.appVersion)>=4) {
	if (switchPoint.innerText==3){
		switchPoint.innerText=4
		document.all("query").style.display="none"

	}
	else{
		switchPoint.innerText=3
		document.all("query").style.display=""
	}
  }
}

 function viewPage(ipage){
        document.frmList.Page.value=ipage
        document.frmList.submit()        
     }

 function openScript(url, width, height) {
        var Win = window.open(url,"_blank",'width=' + width + ',height=' + height + ',resizable=0,scrollbars=no,menubar=no,status=no' );
    }

function openScript1(url, width, height) {
        var Win = window.open(url,"_blank",'width=' + width + ',height=' + height + ',resizable=1,scrollbars=yes,menubar=no,status=no,left=5,top=10' );
    }

 function Detail(i,ss){
      var u
      u='newsdetail.asp?news_id='+i+'&wstr="'+ss+'"'
      window.open(u,'_blank','dependent,width=500,height=300')
    }
    
 function MM_openBrWindow(theURL,winName,features) { //v2.0
  window.open(theURL,winName,'width =503,height=316,resizable=1,scrollbars=yes,menubar=no,status=no,left=5,top=10');

    }




 function tt(s){
      alert(s)
    }

function OpenWindow(htmurl,widths,heights)
{
   var paramet = 'toolbar=no,resizable=yes,scrollbars=yes,width='+ widths + ',height=' + heights;
   newWindow = window.open(htmurl,"viewfilm",paramet);
   newWindow.focus();
}

function MM_openBrWindow1(theURL,winName,features) { //v2.0
  window.open(theURL,winName,features);
}

function MM_reloadPage(init) {  //reloads the window if Nav4 resized
  if (init==true) with (navigator) {if ((appName=="Netscape")&&(parseInt(appVersion)==4)) {
    document.MM_pgW=innerWidth; document.MM_pgH=innerHeight; onresize=MM_reloadPage; }}
  else if (innerWidth!=document.MM_pgW || innerHeight!=document.MM_pgH) location.reload();
}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -