点击回首页
我的浏览记录 | | 帮助?
当前位置:
首页>> 企业网站>> MVC通用企业门户网站源码>> 源文件浏览
[商业版 299金币] WebForm,下载次数:33 次 | 关键字: mvc easyui 门户网站

源码截图

源码目录树

当前路径:PD.Web/Scripts/kindeditor/kindeditor-min.js     /* KindEditor 4.1.5 (2013-01-20), Copyright (C) kindsoft.net, Licence: http://www.kindsoft.net/license.php */(function(A,m){function X(a){if(!a)return!1;return Object.prototype.toString.call(a)==="[object Array]"}function cb(a){if(!a)return!1;return Object.prototype.toString.call(a)==="[object Function]"}function M(a,b){for(var c=0,d=b.length;c<d;c++)if(a===b[c])return c;return-1}function k(a,b){if(X(a))for(var c=0,d=a.length;c<d;c++){if(b.call(a[c],c,a[c])===!1)break}else for(c in a)if(a.hasOwnProperty(c)&&b.call(a[c],c,a[c])===!1)break}function B(a){return a.replace(/(?:^[ \t\n\r]+)|(?:[ \t\n\r]+$)/g,
"")}function sa(a,b,c){c=c===m?",":c;return(c+b+c).indexOf(c+a+c)>=0}function r(a,b){b=b||"px";return a&&/^\d+$/.test(a)?a+b:a}function s(a){var b;return a&&(b=/(\d+)/.exec(a))?parseInt(b[1],10):0}function C(a){return a.replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/"/g,"&quot;")}function ta(a){return a.replace(/&lt;/g,"<").replace(/&gt;/g,">").replace(/&quot;/g,'"').replace(/&amp;/g,"&")}function ea(a){var b=a.split("-"),a="";k(b,function(b,d){a+=b>0?d.charAt(0).toUpperCase()+
d.substr(1):d});return a}function ua(a){function b(a){a=parseInt(a,10).toString(16).toUpperCase();return a.length>1?a:"0"+a}return a.replace(/rgb\s*\(\s*(\d+)\s*,\s*(\d+)\s*,\s*(\d+)\s*\)/ig,function(a,d,e,g){return"#"+b(d)+b(e)+b(g)})}function u(a,b){var b=b===m?",":b,c={},d=X(a)?a:a.split(b),e;k(d,function(a,b){if(e=/^(\d+)\.\.(\d+)$/.exec(b))for(var d=parseInt(e[1],10);d<=parseInt(e[2],10);d++)c[d.toString()]=!0;else c[b]=!0});return c}function Ga(a,b){return Array.prototype.slice.call(a,b||0)}
function n(a,b){return a===m?b:a}function F(a,b,c){c||(c=b,b=null);var d;if(b){var e=function(){};e.prototype=b.prototype;d=new e;k(c,function(a,b){d[a]=b})}else d=c;d.constructor=a;a.prototype=d;a.parent=b?b.prototype:null}function db(a){var b;if(b=/\{[\s\S]*\}|\[[\s\S]*\]/.exec(a))a=b[0];b=/[\u0000\u00ad\u0600-\u0604\u070f\u17b4\u17b5\u200c-\u200f\u2028-\u202f\u2060-\u206f\ufeff\ufff0-\uffff]/g;b.lastIndex=0;b.test(a)&&(a=a.replace(b,function(a){return"\\u"+("0000"+a.charCodeAt(0).toString(16)).slice(-4)}));
if(/^[\],:{}\s]*$/.test(a.replace(/\\(?:["\\\/bfnrt]|u[0-9a-fA-F]{4})/g,"@").replace(/"[^"\\\n\r]*"|true|false|null|-?\d+(?:\.\d*)?(?:[eE][+\-]?\d+)?/g,"]").replace(/(?:^|:|,)(?:\s*\[)+/g,"")))return eval("("+a+")");throw"JSON parse error";}function Qb(a,b,c){a.addEventListener?a.addEventListener(b,c,eb):a.attachEvent&&a.attachEvent("on"+b,c)}function va(a,b,c){a.removeEventListener?a.removeEventListener(b,c,eb):a.detachEvent&&a.detachEvent("on"+b,c)}function fb(a,b){this.init(a,b)}function gb(a){try{delete a[Y]}catch(b){a.removeAttribute&&
a.removeAttribute(Y)}}function Z(a,b,c){if(b.indexOf(",")>=0)k(b.split(","),function(){Z(a,this,c)});else{var d=a[Y]||null;d||(a[Y]=++hb,d=hb);v[d]===m&&(v[d]={});var e=v[d][b];e&&e.length>0?va(a,b,e[0]):(v[d][b]=[],v[d].el=a);e=v[d][b];e.length===0&&(e[0]=function(b){var c=b?new fb(a,b):m;k(e,function(b,d){b>0&&d&&d.call(a,c)})});M(c,e)<0&&e.push(c);Qb(a,b,e[0])}}function fa(a,b,c){if(b&&b.indexOf(",")>=0)k(b.split(","),function(){fa(a,this,c)});else{var d=a[Y]||null;if(d)if(b===m)d in v&&(k(v[d],
function(b,c){b!="el"&&c.length>0&&va(a,b,c[0])}),delete v[d],gb(a));else if(v[d]){var e=v[d][b];if(e&&e.length>0){c===m?(va(a,b,e[0]),delete v[d][b]):(k(e,function(a,b){a>0&&b===c&&e.splice(a,1)}),e.length==1&&(va(a,b,e[0]),delete v[d][b]));var g=0;k(v[d],function(){g++});g<2&&(delete v[d],gb(a))}}}}function ib(a,b){if(b.indexOf(",")>=0)k(b.split(","),function(){ib(a,this)});else{var c=a[Y]||null;if(c){var d=v[c][b];if(v[c]&&d&&d.length>0)d[0]()}}}function Ha(a,b,c){b=/^\d{2,}$/.test(b)?b:b.toUpperCase().charCodeAt(0);
Z(a,"keydown",function(d){d.ctrlKey&&d.which==b&&!d.shiftKey&&!d.altKey&&(c.call(a),d.stop())})}function $(a){for(var b={},c=/\s*([\w\-]+)\s*:([^;]*)(;|$)/g,d;d=c.exec(a);){var e=B(d[1].toLowerCase());d=B(ua(d[2]));b[e]=d}return b}function J(a){for(var b={},c=/\s+(?:([\w\-:]+)|(?:([\w\-:]+)=([^\s"'<>]+))|(?:([\w\-:"]+)="([^"]*)")|(?:([\w\-:"]+)='([^']*)'))(?=(?:\s|\/|>)+)/g,d;d=c.exec(a);){var e=(d[1]||d[2]||d[4]||d[6]).toLowerCase();b[e]=(d[2]?d[3]:d[4]?d[5]:d[7])||""}return b}function Rb(a,b){return a=
/\s+class\s*=/.test(a)?a.replace(/(\s+class=["']?)([^"']*)(["']?[\s>])/,function(a,d,e,g){return(" "+e+" ").indexOf(" "+b+" ")<0?e===""?d+b+g:d+e+" "+b+g:a}):a.substr(0,a.length-1)+' class="'+b+'">'}function Sb(a){var b="";k($(a),function(a,d){b+=a+":"+d+";"});return b}function ga(a,b,c,d){function e(a){for(var a=a.split("/"),b=[],c=0,d=a.length;c<d;c++){var e=a[c];e==".."?b.length>0&&b.pop():e!==""&&e!="."&&b.push(e)}return"/"+b.join("/")}function g(b,c){if(a.substr(0,b.length)===b){for(var e=[],
h=0;h<c;h++)e.push("..");h=".";e.length>0&&(h+="/"+e.join("/"));d=="/"&&(h+="/");return h+a.substr(b.length)}else if(f=/^(.*)\//.exec(b))return g(f[1],++c)}b=n(b,"").toLowerCase();a.substr(0,5)!="data:"&&(a=a.replace(/([^:])\/\//g,"$1/"));if(M(b,["absolute","relative","domain"])<0)return a;c=c||location.protocol+"//"+location.host;if(d===m)var h=location.pathname.match(/^(\/.*)\//),d=h?h[1]:"";var f;if(f=/^(\w+:\/\/[^\/]*)/.exec(a)){if(f[1]!==c)return a}else if(/^\w+:/.test(a))return a;/^\//.test(a)?
a=c+e(a.substr(1)):/^\w+:\/\//.test(a)||(a=c+e(d+"/"+a));b==="relative"?a=g(c+d,0).substr(2):b==="absolute"&&a.substr(0,c.length)===c&&(a=a.substr(c.length));return a}function R(a,b,c,d,e){var c=c||"",d=n(d,!1),e=n(e,"\t"),g="xx-small,x-small,small,medium,large,x-large,xx-large".split(","),a=a.replace(/(<(?:pre|pre\s[^>]*)>)([\s\S]*?)(<\/pre>)/ig,function(a,b,c,d){return b+c.replace(/<(?:br|br\s[^>]*)>/ig,"\n")+d}),a=a.replace(/<(?:br|br\s[^>]*)\s*\/?>\s*<\/p>/ig,"</p>"),a=a.replace(/(<(?:p|p\s[^>]*)>)\s*(<\/p>)/ig,
"$1<br />$2"),a=a.replace(/\u200B/g,""),a=a.replace(/\u00A9/g,"&copy;"),h={};b&&(k(b,function(a,b){for(var c=a.split(","),d=0,e=c.length;d<e;d++)h[c[d]]=u(b)}),h.script||(a=a.replace(/(<(?:script|script\s[^>]*)>)([\s\S]*?)(<\/script>)/ig,"")),h.style||(a=a.replace(/(<(?:style|style\s[^>]*)>)([\s\S]*?)(<\/style>)/ig,"")));var f=[],a=a.replace(/([ \t\n\r]*)<(\/)?([\w\-:]+)((?:\s+|(?:\s+[\w\-:]+)|(?:\s+[\w\-:]+=[^\s"'<>]+)|(?:\s+[\w\-:"]+="[^"]*")|(?:\s+[\w\-:"]+='[^']*'))*)(\/)?>([ \t\n\r]*)/g,function(a,
l,p,t,wa,E,G){var l=l||"",p=p||"",m=t.toLowerCase(),n=wa||"",t=E?" "+E:"",G=G||"";if(b&&!h[m])return"";t===""&&jb[m]&&(t=" /");kb[m]&&(l&&(l=" "),G&&(G=" "));Ia[m]&&(p?G="\n":l="\n");d&&m=="br"&&(G="\n");if(lb[m]&&!Ia[m])if(d){p&&f.length>0&&f[f.length-1]===m?f.pop():f.push(m);G=l="\n";wa=0;for(E=p?f.length:f.length-1;wa<E;wa++)l+=e,p||(G+=e);t?f.pop():p||(G+=e)}else l=G="";if(n!==""){var w=J(a);if(m==="font"){var o={},H="";k(w,function(a,b){if(a==="color")o.color=b,delete w[a];a==="size"&&(o["font-size"]=
g[parseInt(b,10)-1]||"",delete w[a]);a==="face"&&(o["font-family"]=b,delete w[a]);a==="style"&&(H=b)});H&&!/;$/.test(H)&&(H+=";");k(o,function(a,b){b!==""&&(/\s/.test(b)&&(b="'"+b+"'"),H+=a+":"+b+";")});w.style=H}k(w,function(a,d){Tb[a]&&(w[a]=a);M(a,["src","href"])>=0&&(w[a]=ga(d,c));(b&&a!=="style"&&!h[m]["*"]&&!h[m][a]||m==="body"&&a==="contenteditable"||/^kindeditor_\d+$/.test(a))&&delete w[a];if(a==="style"&&d!==""){var e=$(d);k(e,function(a){b&&!h[m].style&&!h[m]["."+a]&&delete e[a]});var g=
"";k(e,function(a,b){g+=a+":"+b+";"});w.style=g}});n="";k(w,function(a,b){a==="style"&&b===""||(b=b.replace(/"/g,"&quot;"),n+=" "+a+'="'+b+'"')})}m==="font"&&(m="span");return l+"<"+p+m+n+t+">"+G}),a=a.replace(/(<(?:pre|pre\s[^>]*)>)([\s\S]*?)(<\/pre>)/ig,function(a,b,c,d){return b+c.replace(/\n/g,'<span id="__kindeditor_pre_newline__">\n')+d}),a=a.replace(/\n\s*\n/g,"\n"),a=a.replace(/<span id="__kindeditor_pre_newline__">\n/g,"\n");return B(a)}function mb(a,b){a=a.replace(/<meta[\s\S]*?>/ig,"").replace(/<![\s\S]*?>/ig,
"").replace(/<style[^>]*>[\s\S]*?<\/style>/ig,"").replace(/<script[^>]*>[\s\S]*?<\/script>/ig,"").replace(/<w:[^>]+>[\s\S]*?<\/w:[^>]+>/ig,"").replace(/<o:[^>]+>[\s\S]*?<\/o:[^>]+>/ig,"").replace(/<xml>[\s\S]*?<\/xml>/ig,"").replace(/<(?:table|td)[^>]*>/ig,function(a){return a.replace(/border-bottom:([#\w\s]+)/ig,"border:$1")});return R(a,b)}function nb(a){if(/\.(rm|rmvb)(\?|$)/i.test(a))return"audio/x-pn-realaudio-plugin";if(/\.(swf|flv)(\?|$)/i.test(a))return"application/x-shockwave-flash";return"video/x-ms-asf-plugin"}
function ob(a){return J(unescape(a))}function Ja(a){var b="<embed ";k(a,function(a,d){b+=a+'="'+d+'" '});b+="/>";return b}function pb(a,b){var c=b.width,d=b.height,e=b.type||nb(b.src),g=Ja(b),h="";c>0&&(h+="width:"+c+"px;");d>0&&(h+="height:"+d+"px;");c=/realaudio/i.test(e)?"ke-rm":/flash/i.test(e)?"ke-flash":"ke-media";c='<img class="'+c+'" src="'+a+'" ';h!==""&&(c+='style="'+h+'" ');c+='data-ke-tag="'+escape(g)+'" alt="" />';return c}function ya(a,b){if(a.nodeType==9&&b.nodeType!=9)return!0;for(;b=
b.parentNode;)if(b==a)return!0;return!1}function za(a,b){var b=b.toLowerCase(),c=null;if(!Ub&&a.nodeName.toLowerCase()!="script"){var d=a.ownerDocument.createElement("div");d.appendChild(a.cloneNode(!1));d=J(ta(d.innerHTML));b in d&&(c=d[b])}else try{c=a.getAttribute(b,2)}catch(e){c=a.getAttribute(b,1)}b==="style"&&c!==null&&(c=Sb(c));return c}function Aa(a,b){function c(a){if(typeof a!="string")return a;return a.replace(/([^\w\-])/g,"\\$1")}function d(a,b){return a==="*"||a.toLowerCase()===c(b.toLowerCase())}
function e(a,b,c){var e=[];(a=(c.ownerDocument||c).getElementById(a.replace(/\\/g,"")))&&d(b,a.nodeName)&&ya(c,a)&&e.push(a);return e}function g(a,b,c){var e=c.ownerDocument||c,g=[],h,f,i;if(c.getElementsByClassName){e=c.getElementsByClassName(a.replace(/\\/g,""));h=0;for(f=e.length;h<f;h++)i=e[h],d(b,i.nodeName)&&g.push(i)}else if(e.querySelectorAll){e=e.querySelectorAll((c.nodeName!=="#document"?c.nodeName+" ":"")+b+"."+a);h=0;for(f=e.length;h<f;h++)i=e[h],ya(c,i)&&g.push(i)}else{e=c.getElementsByTagName(b);
a=" "+a+" ";h=0;for(f=e.length;h<f;h++)if(i=e[h],i.nodeType==1)(b=i.className)&&(" "+b+" ").indexOf(a)>-1&&g.push(i)}return g}function h(a,b,d,e){for(var g=[],d=e.getElementsByTagName(d),h=0,f=d.length;h<f;h++)e=d[h],e.nodeType==1&&(b===null?za(e,a)!==null&&g.push(e):b===c(za(e,a))&&g.push(e));return g}function f(a,b){var c=[],i,j=(i=/^((?:\\.|[^.#\s\[<>])+)/.exec(a))?i[1]:"*";if(i=/#((?:[\w\-]|\\.)+)$/.exec(a))c=e(i[1],j,b);else if(i=/\.((?:[\w\-]|\\.)+)$/.exec(a))c=g(i[1],j,b);else if(i=/\[((?:[\w\-]|\\.)+)\]/.exec(a))c=
h(i[1].toLowerCase(),null,j,b);else if(i=/\[((?:[\w\-]|\\.)+)\s*=\s*['"]?((?:\\.|[^'"]+)+)['"]?\]/.exec(a)){c=i[1].toLowerCase();i=i[2];if(c==="id")j=e(i,j,b);else if(c==="class")j=g(i,j,b);else if(c==="name"){c=[];i=(b.ownerDocument||b).getElementsByName(i.replace(/\\/g,""));for(var l,p=0,t=i.length;p<t;p++)l=i[p],d(j,l.nodeName)&&ya(b,l)&&l.getAttributeNode("name")&&c.push(l);j=c}else j=h(c,i,j,b);c=j}else{j=b.getElementsByTagName(j);l=0;for(p=j.length;l<p;l++)i=j[l],i.nodeType==1&&c.push(i)}return c}
var j=a.split(",");if(j.length>1){var l=[];k(j,function(){k(Aa(this,b),function(){M(this,l)<0&&l.push(this)})});return l}for(var b=b||document,j=[],p,t=/((?:\\.|[^\s>])+|[\s>])/g;p=t.exec(a);)p[1]!==" "&&j.push(p[1]);p=[];if(j.length==1)return f(j[0],b);var t=!1,m,E,n,o,q,w,xa,H,r,s;w=0;for(lenth=j.length;w<lenth;w++)if(m=j[w],m===">")t=!0;else{if(w>0){E=[];xa=0;for(r=p.length;xa<r;xa++){o=p[xa];n=f(m,o);H=0;for(s=n.length;H<s;H++)q=n[H],t?o===q.parentNode&&E.push(q):E.push(q)}p=E}else p=f(m,b);if(p.length===
0)return[]}return p}function S(a){if(!a)return document;return a.ownerDocument||a.document||a}function T(a){if(!a)return A;a=S(a);return a.parentWindow||a.defaultView}function Vb(a,b){if(a.nodeType==1){var c=S(a);try{a.innerHTML='<img id="__kindeditor_temp_tag__" width="0" height="0" style="display:none;" />'+b;var d=c.getElementById("__kindeditor_temp_tag__");d.parentNode.removeChild(d)}catch(e){f(a).empty(),f("@"+b,c).each(function(){a.appendChild(this)})}}}function Ka(a,b,c){o&&z<8&&b.toLowerCase()==
"class"&&(b="className");a.setAttribute(b,""+c)}function La(a){if(!a||!a.nodeName)return"";return a.nodeName.toLowerCase()}function Wb(a,b){var c=T(a),d=ea(b),e="";c.getComputedStyle?(c=c.getComputedStyle(a,null),e=c[d]||c.getPropertyValue(b)||a.style[d]):a.currentStyle&&(e=a.currentStyle[d]||a.style[d]);return e}function I(a){a=a||document;return N?a.body:a.documentElement}function aa(a){var a=a||document,b;o||Ma?(b=I(a).scrollLeft,a=I(a).scrollTop):(b=T(a).scrollX,a=T(a).scrollY);return{x:b,y:a}}
function D(a){this.init(a)}function qb(a){a.collapsed=a.startContainer===a.endContainer&&a.startOffset===a.endOffset;return a}function Na(a,b,c){function d(d,e,g){var h=d.nodeValue.length,j;b&&(j=d.cloneNode(!0),j=e>0?j.splitText(e):j,g<h&&j.splitText(g-e));if(c){var l=d;e>0&&(l=d.splitText(e),a.setStart(d,e));g<h&&(d=l.splitText(g-e),a.setEnd(d,0));f.push(l)}return j}function e(){c&&a.up().collapse(!0);for(var b=0,d=f.length;b<d;b++){var e=f[b];e.parentNode&&e.parentNode.removeChild(e)}}function g(e,
k){for(var n=e.firstChild,o;n;){o=(new K(h)).selectNode(n);l=o.compareBoundaryPoints(ha,a);l>=0&&p<=0&&(p=o.compareBoundaryPoints(ia,a));p>=0&&t<=0&&(t=o.compareBoundaryPoints(ba,a));t>=0&&m<=0&&(m=o.compareBoundaryPoints(ja,a));if(m>=0)return!1;o=n.nextSibling;if(l>0)if(n.nodeType==1)if(p>=0&&t<=0)b&&k.appendChild(n.cloneNode(!0)),c&&f.push(n);else{var E;b&&(E=n.cloneNode(!1),k.appendChild(E));if(g(n,E)===!1)return!1}else if(n.nodeType==3&&(n=n==j.startContainer?d(n,j.startOffset,n.nodeValue.length):
n==j.endContainer?d(n,0,j.endOffset):d(n,0,n.nodeValue.length),b))try{k.appendChild(n)}catch(G){}n=o}}var h=a.doc,f=[],j=a.cloneRange().down(),l=-1,p=-1,t=-1,m=-1,k=a.commonAncestor(),n=h.createDocumentFragment();if(k.nodeType==3)return k=d(k,a.startOffset,a.endOffset),b&&n.appendChild(k),e(),b?n:a;g(k,n);c&&a.up().collapse(!0);for(var k=0,o=f.length;k<o;k++){var q=f[k];q.parentNode&&q.parentNode.removeChild(q)}return b?n:a}function ka(a,b){for(var c=b;c;){var d=f(c);if(d.name=="marquee"||d.name==
"select")return;c=c.parentNode}try{a.moveToElementText(b)}catch(e){}}function rb(a,b){var c=a.parentElement().ownerDocument,d=a.duplicate();d.collapse(b);var e=d.parentElement(),g=e.childNodes;if(g.length===0)return{node:e.parentNode,offset:f(e).index()};var h=c,i=0,j=-1,l=a.duplicate();ka(l,e);for(var p=0,t=g.length;p<t;p++){var k=g[p],j=l.compareEndPoints("StartToStart",d);if(j===0)return{node:k.parentNode,offset:p};if(k.nodeType==1){var n=a.duplicate(),m,o=f(k),q=k;o.isControl()&&(m=c.createElement("span"),
o.after(m),q=m,i+=o.text().replace(/\r\n|\n|\r/g,"").length);ka(n,q);l.setEndPoint("StartToEnd",n);j>0?i+=n.text.replace(/\r\n|\n|\r/g,"").length:i=0;m&&f(m).remove()}else k.nodeType==3&&(l.moveStart("character",k.nodeValue.length),i+=k.nodeValue.length);j<0&&(h=k)}if(j<0&&h.nodeType==1)return{node:e,offset:f(e.lastChild).index()+1};if(j>0)for(;h.nextSibling&&h.nodeType==1;)h=h.nextSibling;l=a.duplicate();ka(l,e);l.setEndPoint("StartToEnd",d);i-=l.text.replace(/\r\n|\n|\r/g,"").length;if(j>0&&h.nodeType==
3)for(c=h.previousSibling;c&&c.nodeType==3;)i-=c.nodeValue.length,c=c.previousSibling;return{node:h,offset:i}}function sb(a,b){var c=a.ownerDocument||a,d=c.body.createTextRange();if(c==a)return d.collapse(!0),d;if(a.nodeType==1&&a.childNodes.length>0){var e=a.childNodes,g;b===0?(g=e[0],e=!0):(g=e[b-1],e=!1);if(!g)return d;if(f(g).name==="head")return b===1&&(e=!0),b===2&&(e=!1),d.collapse(e),d;if(g.nodeType==1){var h=f(g),i;h.isControl()&&(i=c.createElement("span"),e?h.before(i):h.after(i),g=i);ka(d,
g);d.collapse(e);i&&f(i).remove();return d}a=g;b=e?0:g.nodeValue.length}c=c.createElement("span");f(a).before(c);ka(d,c);d.moveStart("character",b);f(c).remove();return d}function tb(a){function b(a){if(f(a.node).name=="tr")a.node=a.node.cells[a.offset],a.offset=0}var c;if(o){if(a.item)return c=S(a.item(0)),c=new K(c),c.selectNode(a.item(0)),c;c=a.parentElement().ownerDocument;var d=rb(a,!0),a=rb(a,!1);b(d);b(a);c=new K(c);c.setStart(d.node,d.offset);c.setEnd(a.node,a.offset);return c}d=a.startContainer;
c=d.ownerDocument||d;c=new K(c);c.setStart(d,a.startOffset);c.setEnd(a.endContainer,a.endOffset);return c}function K(a){this.init(a)}function Oa(a){if(!a.nodeName)return a.constructor===K?a:tb(a);return new K(a)}function O(a,b,c){try{a.execCommand(b,!1,c)}catch(d){}}function ub(a,b){var c="";try{c=a.queryCommandValue(b)}catch(d){}typeof c!=="string"&&(c="");return c}function Pa(a){var b=T(a);return a.selection||b.getSelection()}function vb(a){var b={},c,d;k(a,function(a,g){c=a.split(",");for(var h=
0,f=c.length;h<f;h++)d=c[h],b[d]=g});return b}function Qa(a,b){return wb(a,b,"*")||wb(a,b)}function wb(a,b,c){c=c||a.name;if(a.type!==1)return!1;b=vb(b);if(!b[c])return!1;for(var c=b[c].split(","),b=0,d=c.length;b<d;b++){var e=c[b];if(e==="*")return!0;var g=/^(\.?)([^=]+)(?:=([^=]*))?$/.exec(e),h=g[1]?"css":"attr",e=g[2],g=g[3]||"";if(g===""&&a[h](e)!=="")return!0;if(g!==""&&a[h](e)===g)return!0}return!1}function Ra(a,b){a.type==1&&(xb(a,b,"*"),xb(a,b))}function xb(a,b,c){c=c||a.name;if(a.type===
1&&(b=vb(b),b[c])){for(var c=b[c].split(","),b=!1,d=0,e=c.length;d<e;d++){var g=c[d];if(g==="*"){b=!0;break}var h=/^(\.?)([^=]+)(?:=([^=]*))?$/.exec(g),g=h[2];h[1]?(g=ea(g),a[0].style[g]&&(a[0].style[g]="")):a.removeAttr(g)}b&&a.remove(!0)}}function Sa(a){for(;a.first();)a=a.first();return a}function ca(a){return a.type==1&&a.html().replace(/<[^>]+>/g,"")===""}function Xb(a,b,c){k(b,function(b,c){b!=="style"&&a.attr(b,c)});k(c,function(b,c){a.css(b,c)})}function la(a){this.init(a)}function yb(a){a.nodeName&&
(a=S(a),a=Oa(a).selectNodeContents(a.body).collapse(!1));return new la(a)}function Ta(a){var b=a.moveEl,c=a.moveFn,d=a.clickEl||b,e=a.beforeDrag,g=[document];(a.iframeFix===m||a.iframeFix)&&f("iframe").each(function(){if(!/^https?:\/\//.test(ga(this.src||"","absolute"))){var a;try{a=Ua(this)}catch(b){}if(a){var c=f(this).pos();f(a).data("pos-x",c.x);f(a).data("pos-y",c.y);g.push(a)}}});d.mousedown(function(a){function i(a){a.preventDefault();var b=f(S(a.target)),e=P((b.data("pos-x")||0)+a.pageX-q),
a=P((b.data("pos-y")||0)+a.pageY-r);c.call(d,k,n,m,o,e,a)}function j(a){a.preventDefault()}function l(a){a.preventDefault();f(g).unbind("mousemove",i).unbind("mouseup",l).unbind("selectstart",j);p.releaseCapture&&p.releaseCapture()}a.stopPropagation();var p=d.get(),k=s(b.css("left")),n=s(b.css("top")),m=b.width(),o=b.height(),q=a.pageX,r=a.pageY;e&&e();f(g).mousemove(i).mouseup(l).bind("selectstart",j);p.setCapture&&p.setCapture()})}function Q(a){this.init(a)}function Va(a){return new Q(a)}function Ua(a){a=
f(a)[0];return a.contentDocu...
对不起,完整源码文件,请先购买后再查看
关于我们 | 顾问团队 | 发展历程 | 联系我们 | 源码上传
联系电话(Tel):4008-010-151(免长途) 企业QQ:2852517674
地址:北京市海淀区中关村鼎好大厦A座二层 邮编:100080
Room A-801,Dinghao Building,Zhongguancun,Beijing,China,100080
51Aspx.com 版权所有 CopyRight © 2006-2015. 京ICP备09089570号 | 京公网安备11010702000869号
分享该页面
关闭侧边栏