web/Script/loading.js
(完整代码) 1KB
var t_id = setInterval(animate,20);
var pos=0;
var dir=2;
var len=0;
function animate()
{
var elem = document.getElementById('progress');
if(elem != null) {
if (pos==0) len += dir;
if (len>32 || pos>79) pos += dir;
if (pos>79) len -= dir;
if (pos>79 && len==0) pos=0;
elem.style.left = pos;
elem.style.width = len;
}
}
function remove_loading() {
this.clearInterval(t_id);
var targelem = document.getElementById('loader_container');
targelem.style.display='none';
targelem.style.visibility='hidden';
}
document.writeln('<body onLoad=\"remove_loading();\" leftmargin=\"0\" rightmargin=\"0\" topmargin=\"0\" onkeydown=\"if(event.keyCode==27) return false;\">');
document.writeln('<div id=\"loader_container\">');
document.writeln('<div id=\"loader\" style=\"width: 150px; height: 38px\">');
document.writeln('<div align=\"center\"><font color=\"#000000\">Loading.....</font></div>');
document.writeln('<div id=\"loader_bg\"><div id=\"progress\"> </div></div>');
document.writeln('</div>');
document.writeln('</div>');
24 小时内免费解锁 3 个项目,之后 1 积分/个。 规则说明
AI 解读
登录后可用,每次 10 积分,解读结果公开显示在下面。
还没有人解读过这个文件。
