⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 wrappers.js

📁 Telerik是很大的第三方软件制造商
💻 JS
字号:
if (typeof(window.RadSpellNamespace)=="unde\x66\x69\x6eed"){window.RadSpellNamespace=new Object(); }window.RadSpellWrappers=new Object(); RadSpellNamespace.ib= function (text){var Of=text.replace(/\x0a/gi,"<te\x6c\x65rikcr\x20\x2f>"); Of=Of.replace(/\x0d/gi,"\x3cteleri\x6b\x6cf />"); return Of; } ; RadSpellNamespace.Od= function (text){var Of=text.replace(/\x3c\x74\x65\x6c\x65\x72\x69\x6b\x63\x72\s*\x2f\x3e/gi,"\x0a"); var Of=Of.replace(/\x3c\x74\x65\x6c\x65\x72\x69\x6b\x6c\x66\s*\x2f\x3e/gi,"\x0d"); return Of; } ; function lv(O2,ownerDocument){ this.Ig=O2; if (ownerDocument==null){ownerDocument=document; } ; this.ownerDocument=ownerDocument; } ; lv.prototype.iv= function (){return (this.Ig.disabled!= true); } ; lv.prototype.Iv= function (ow){var Ow=(ow== true)?"enabl\x65": "di\x73\x61ble"; this[Ow](); } ; lv.prototype.lw= function (){return ""; } ; lv.prototype.iw= function (){return ""; } ; lv.prototype.Oh= function (){ this.Ig.disabled= false; if (this.iw()!=""){ this.Ig.className=this.iw(); } ; } ; lv.prototype.la= function (){ this.Ig.disabled= true; if (this.lw()!=""){ this.Ig.className=this.lw(); } ; } ; lv.prototype.Iw= function (){return this.Ig.style.visibility!="\x68idden"; } ; lv.prototype.ox= function (){ this.Ig.style.visibility="\x68idden"; } ; lv.prototype.Ox= function (){return this.Ig.style.display; } ; lv.prototype.Iu= function (m){ this.Ig.style.display=m; } ; lv.prototype.show= function (){ this.Ig.style.visibility="visibl\x65"; } ; lv.lx= function (ix,Ix){if (Ix==null){Ix=document; } ; if (Ix.all!=null){return Ix.all[ix]; } ; return Ix.getElementById(ix); } ; function oy(){var Oy= function (Ig,ownerDocument){ this.base=lv; this.base(Ig,ownerDocument); } ; Oy.prototype=new lv(); Oy.i8= function (ix,Ix){var ly=lv.lx(ix,Ix); if (ly==null){return null; }else {return new Oy(ly,Ix); } ; } ; return Oy; } ; RadSpellWrappers.Or=oy(); RadSpellWrappers.Or.prototype.getText= function (){return this.Ig.innerHTML; } ; RadSpellWrappers.Or.prototype.setText= function (caption){ this.Ig.innerHTML=caption; } ; RadSpellWrappers.Or.prototype.os= function (f){ this.Ig.onclick=f; };RadSpellWrappers.o9=oy(); RadSpellWrappers.o9.prototype.iy= function (){return this.Ig.options.length; } ; RadSpellWrappers.o9.prototype.lh= function (Iy,oz){var Oz=new Option(Iy,oz); if (this.Ig.options.add!=null){ this.Ig.options.add(Oz); }else { this.Ig.options[this.iy()]=Oz; }} ; RadSpellWrappers.o9.prototype.lp= function (){ this.Ig.options.length=0; } ; RadSpellWrappers.o9.prototype.Oi= function (){return this.Ig.selectedIndex; } ; RadSpellWrappers.o9.prototype.Ih= function (selected){ this.Ig.selectedIndex=selected; } ; RadSpellWrappers.o9.prototype.getItem= function (index){return this.Ig.options[index]; } ; RadSpellWrappers.Ov=oy(); RadSpellWrappers.Ov.prototype.getText= function (){return this.Ig.value; } ; RadSpellWrappers.Ov.prototype.setText= function (text){ this.Ig.value=text; } ; RadSpellWrappers.l2=oy(); RadSpellWrappers.l2.prototype.getText= function (){var html=this.lz().innerHTML; return html!=null?html: ""; } ; RadSpellWrappers.l2.prototype.setText= function (text){ this.lz().innerHTML=text; } ; RadSpellWrappers.l2.prototype.i2= function (){var oa=this.Ig.id; var iframe=null; if (this.ownerDocument.frames!=null && this.ownerDocument.frames[oa]!=null){iframe=this.ownerDocument.frames[oa]; } ; if (iframe==null){iframe=lv.lx(oa,this.ownerDocument); } ; if (iframe.document!=null){return iframe.document; }else {return iframe.contentWindow.document; } ; } ; RadSpellWrappers.l2.prototype.lz= function (){return this.i2().body; } ; RadSpellWrappers.l2.prototype.iz= function (){var oa=this.Ig.id; var iframe=null; if (this.ownerDocument.frames!=null && this.ownerDocument.frames[oa]!=null){return this.ownerDocument.frames[oa]; } ; if (iframe==null){var frame=lv.lx(oa,this.ownerDocument); return frame.contentWindow; } ; return null; } ; RadSpellWrappers.l2.prototype.Iz= function (){return typeof(this.lz().contentEditable)!="un\x64ef\x69\x6eed"; } ; RadSpellWrappers.l2.prototype.op= function (ou){if (this.Iz()){ this.lz().contentEditable=ou; } ; } ; RadSpellWrappers.l2.prototype.ov= function (){if (!this.Iz()){return false; }else {return this.lz().contentEditable=="true" || this.lz().contentEditable== true; } ; } ; RadSpellWrappers.l8=oy(); RadSpellWrappers.l8.prototype.lw= function (){return "\x42uttonDis\x61\x62led"; } ; RadSpellWrappers.l8.prototype.iw= function (){return "\x42utton"; } ; RadSpellWrappers.l8.prototype.o10= function (){return this.Ig.innerHTML; } ; RadSpellWrappers.l8.prototype.lj= function (caption){ this.Ig.innerHTML=caption; } ;

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -