WebRoot/js/public.js

(开头部分) 9KB

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

/*
 * 打开新窗口 f:链接地址 n:窗口的名称 w:窗口的宽度 h:窗口的高度 s:窗口是否有滚动条,1:有滚动条;0:没有滚动条
 */



function openWin(f, n, w, h, s) 
{
	//sb = s == "1" ? "1" : "0";
	//l = (screen.width - w) / 2;
	//t = (screen.height - h) / 2;
	//sFeatures = "left=" + l + ",top=" + t + ",height=" + h + ",width=" + w
			//+ ",center=1,scrollbars=" + sb
			//+ ",status=0,directories=0,channelmode=0";
	//openwin = window.open(f, n, sFeatures);
	//if (!openwin.opener)
		//openwin.opener = self;
	//openwin.focus();
	//return openwin;
    var result=window.showModalDialog(f,n,"dialogHeight:"+h+";dialogWidth:"+w+";"+s);
    if(result==true)
    {
    	window.location.reload(true);
    }
    else
    {
    	//window.location.reload(true);
    }
    
}





/*
 * 删除记录
 */
function del(url, info) 
{
	//if (openDeleteDialog(url, info)) 
	//{
		//window.location.reload(true);
	//}
	 if (confirm(info))
     {
	     var result=window.showModalDialog(url,"window123","dialogHeight:234px;dialogWidth:271px;resizable:no;help:no;status:no;scroll:no");
	     if(result==true)
	     {
	     	 window.location.reload(true);
	     }
	     else
	     {
	     	
	     }
     }
     else
     {
     	
     }
后面还有 425 行代码,购买后查看完整代码

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

AI 解读

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

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