当前位置: 代码迷 >> Web前端 >> 惯用脚本整理
  详细解决方案

惯用脚本整理

热度:278   发布时间:2012-11-08 08:48:11.0
常用脚本整理

//Js触发按钮事件
var WsShell = new ActiveXObject("WScript.Shell");
WsShell.SendKeys("{F11}");


//窗口大小改变事件
window.onresize=function(){
		if(document.documentElement.clientHeight < document.documentElement.offsetHeight-4){
			//判断是否有滚动条
		}
	}

  相关解决方案