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

📄 shizi.js

📁 学校成绩查询系统是一个非常好的软件请大家试试
💻 JS
字号:
<STYLE type=text/css>.hair {
	BACKGROUND-COLOR:#39867B; FONT-SIZE: 1px; HEIGHT: 1px; LEFT: 0px; POSITION: absolute; TOP: 0px; WIDTH: 1px; layer-background-color:#cfe6de
}
</STYLE>
<DIV class=hair id=xhair></DIV>
<DIV class=hair id=yhair></DIV>
<DIV id=target 
style="HEIGHT: 32px; LEFT: 12px; POSITION: absolute; TOP: 0px; WIDTH: 722px"> </DIV>
<SCRIPT language=javascript>
var isNS=(navigator.appName=="Netscape");
var _all=(isNS)? '' : 'all.' ;
var _style=(isNS)? '' : '.style' ;
var _visible=(isNS)? 'show' : 'visible';

var xhair=eval('document.'+_all+'xhair'+_style);
var yhair=eval('document.'+_all+'yhair'+_style);
var target=eval('document.'+_all+'target'+_style);

function resize(){
if(isNS){
xhair.clip.width=window.innerWidth;
xhair.clip.height=1;
yhair.clip.width=1;
yhair.clip.height=window.innerHeight;
}else{
xhair.width=document.body.clientWidth;
yhair.height=document.body.clientHeight;
}}

function movehair(evnt){
if(isNS){
xhair.moveTo(pageXOffset,evnt.pageY);
yhair.moveTo(evnt.pageX,pageYOffset);
target.moveTo(evnt.pageX-20,evnt.pageY-20);
}else{
xhair.pixelTop=event.clientY+document.body.scrollTop;
xhair.pixelLeft=document.body.scrollLeft;
yhair.pixelLeft=event.clientX+document.body.scrollLeft;
yhair.pixelTop=document.body.scrollTop;
target.pixelTop=event.clientY+document.body.scrollTop-20;
target.pixelLeft=event.clientX+document.body.scrollLeft-20;
}
return false;
}

function reloadNS(){
setTimeout('window.location.reload()', 500);
}

(isNS)? window.onresize=reloadNS : window.onresize=resize;

if(isNS)document.captureEvents(Event.MOUSEMOVE);
document.onmousemove=movehair;

window.onload=resize;

</SCRIPT>

⌨️ 快捷键说明

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