admin_m/dxtb/main.js

(开头部分) 33KB

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

if (Editor_bIsIE5){
	var IframeID=frames["Editor_Composition"];
}
else{
	var IframeID=document.getElementById("Editor_Composition").contentWindow;
	var Editor_bIsNC=true;
}
if (Editor_bLoad==false)
{
	Editor_InitDocument("Body","GB2312");
}
function InitDocument()
{
	IframeID.document.body.innerHTML=EditorName.value;
	EditorName.value="";
	IframeID.focus();
}
if (Editor_bIsNC){
document.write('<iframe width="260" height="165" id="colourPalette" src="dxtb/nc_selcolor.htm" style="visibility:hidden; position: absolute; left: 0px; top: 0px;" frameborder="0" scrolling="no" ></iframe>');
}
function TransValue()
{
	EditorName.value=IframeID.document.body.innerHTML;
}
InitDocument();
//数据传递
function Editor_CopyData(hiddenid)
{
	document.Dvform.Submit.disabled=true;
	document.Dvform.Submit2.disabled=true;
	d = IframeID.document;
	if (Editor_bTextMode == 2)
	{
		cont = d.body.innerText;
	}else{
		cont = d.body.innerHTML;  
	}
	var ChekEmptyCode = Editor_ChekEmptyCode(cont);
	if (ChekEmptyCode == '' || ChekEmptyCode == null)
	{
		cont='';
	}
	else{
		cont = Editor_correctUrl(cont);
		if (Editor_filterScript)
		cont=Editor_FilterScript(cont);
	}
	document.getElementById(hiddenid).value = cont;
}

function Editor_PasteData()
{
	var regExp;
	cont = IframeID.document.body.innerHTML;
	regExp = /<[s|t][a-z]([^>]*)>/ig
	cont = cont.replace(regExp, '');
	regExp = /<\/[s|t][a-z]([^>]*)>/ig
	cont = cont.replace(regExp, '');
	IframeID.document.body.innerHTML = cont
}
后面还有 1189 行代码,解锁后查看完整代码

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

AI 解读 AI

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

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