skin/js/dialog.js

(开头部分) 6KB

这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。

// JScript 文件

var t_DiglogX,t_DiglogY,t_DiglogW,t_DiglogH;

window.onresize = doResize;

function StrCode(str){

	 if(encodeURIComponent) 
	    return encodeURIComponent(str);

	 if(escape) 
	    return escape(str);
}


function Browser(){

	 var ua, s, i;

	 this.isIE = false;
	 this.isNS = false;
	 this.isOP = false;
	 this.isSF = false;

	 ua = navigator.userAgent.toLowerCase();

	 if ((i = ua.indexOf("opera")) >= 0){
	    this.isOP = true;
	    return;
	 }

	 if ((i = ua.indexOf("msie")) >= 0) {
	    this.isIE = true;
	    return;
	 }

	 if ((i = ua.indexOf("netscape6/")) >= 0) {
	    this.isNS = true;
	    return;
	 }

	 if ((i = ua.indexOf("gecko")) >= 0) {
	    this.isNS = true;
	    return;
	 }

	 if ((i = ua.indexOf("safari")) >= 0) {
	    this.isSF = true;
	    return;
	 }
}


function __DialogShow(showdata,ow,oh,w,h){

	 var objDialog = document.getElementById("DialogMove");

	 if (!objDialog)  {
	    objDialog = document.createElement("div");
后面还有 217 行代码,购买后查看完整代码

24 小时内免费解锁 3 个项目,之后 1 积分/个。 规则说明

AI 解读

登录后可用,每次 10 积分,解读结果公开显示在下面。

还没有人解读过这个文件。