oicq/js/fun_Script.js

(开头部分) 2KB

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


//URL的跳转
function gotourl(url,sname,swidth,sheight,top,left,sreplace,sclose)
{
	var objNewWin;				
	if (swidth=="") swidth = "494";
	if (sheight=="") sheight = "351";
	if (top=="") top = "200";
	if (left=="") left = "200";
	if (sreplace=="") sreplace = false;
	if (sclose=="") sclose = false;
	objNewWin = window.open(url,sname,"fullscreen=0,toolbar=0,location=0,directories=0,status=0,menubar=0,scrollbars=0,resizable=0,maximizeButton=0,width=" + swidth + ",height=" + sheight + ",top="+top+",left="+left,sreplace);	
	if (sclose) window.close();
	objNewWin.focus();	
}
//屏蔽用户按键
function CancelKey()
{

	if ((event.keyCode==116)|| //屏蔽 F5 刷新键
		(event.ctrlKey && event.keyCode==82)) //屏蔽Ctrl + R
		{
			event.keyCode=0;event.returnValue=false;
			}
	
	if ((event.ctrlKey)&&(event.keyCode==78)) //屏蔽 Ctrl+n
	{
			event.keyCode=0;		event.returnValue=false;
			}
	

}

function popdialog(url,swidth,sheight){
	if (swidth=="") swidth = "280";
	if (sheight=="") swidth = "180";
	var sValue = showModalDialog(url,"","dialogWidth:" + swidth + ";status:no;dialogHeight:" + sheight);
	return sValue;
}

		
function TB_animateWindow(windowWidth,windowHeight,targetWidth,targetHeight,widthMod,heightMod,fullScreen)
 {

		if (fullScreen)
		{
			targetWidth = screen.availWidth;
			targetHeight = screen.availHeight;
		}

		if (windowWidth < targetWidth) windowWidth += widthMod;
		if (windowHeight < targetHeight) windowHeight += heightMod;

		windowLeft = (screen.availWidth / 2) - (windowWidth / 2);
		windowTop = (screen.availHeight / 2) - (windowHeight / 2);
		//top.window.resizeTo(targetWidth,targetHeight);
		top.window.resizeTo(windowWidth,windowHeight);
		top.window.moveTo(windowLeft,windowTop);
		//top.window.moveTo(0,0);
		
后面还有 4 行代码,解锁后查看完整代码

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

AI 解读 AI

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

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