WebRoot/eWebEditor_V4.60/dialog/dialog.js
(开头部分) 4KB这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。
/*
*######################################
* eWebEditor v4.00 - Advanced online web based WYSIWYG HTML editor.
* Copyright (c) 2003-2007 eWebSoft.com
*
* For further information go to http://www.ewebsoft.com/
* This copyright notice MUST stay intact for use.
*######################################
*/
var URLParams = new Object() ;
var aParams = document.location.search.substr(1).split('&') ;
for (i=0 ; i < aParams.length ; i++) {
var aParam = aParams[i].split('=') ;
URLParams[aParam[0]] = aParam[1] ;
}
var config;
try{config = dialogArguments.config;}catch(e){try{config = opener.config;}catch(e){}}
function BaseTrim(str){
lIdx=0;rIdx=str.length;
if (BaseTrim.arguments.length==2)
act=BaseTrim.arguments[1].toLowerCase()
else
act="all"
for(var i=0;i<str.length;i++){
thelStr=str.substring(lIdx,lIdx+1)
therStr=str.substring(rIdx,rIdx-1)
if ((act=="all" || act=="left") && thelStr==" "){
lIdx++
}
if ((act=="all" || act=="right") && therStr==" "){
rIdx--
}
}
str=str.slice(lIdx,rIdx)
return str
}
function BaseAlert(theText,notice){
alert(notice);
theText.focus();
theText.select();
return false;
}
function IsColor(color){
var temp=color;
if (temp=="") return true;
if (temp.length!=7) return false;
return (temp.search(/\#[a-fA-F0-9]{6}/) != -1);
}
function IsDigit(){
return ((event.keyCode >= 48) && (event.keyCode <= 57));
}
function SelectColor(what){
后面还有 123 行代码,购买后查看完整代码
24 小时内免费解锁 3 个项目,之后 1 算力/个。 规则说明
AI 解读 AI
登录后可用,每次 10 算力,解读结果公开显示在下面。
还没有人解读过这个文件。
