Web/CuteSoft_Client/CuteEditor/CuteEditor.htc.editordot.htm

(完整代码) 9KB

// <script>

var OxOe1c5=["OuterEditorFull.aspx?settinghash=","\x26[[DNN_Arg]]","dialogHeight:600px;dialogWidth:720px;status:0;help:0;resizable:1;","selection","outerHTML","body","html","Edit","PostBack","length","className","CuteEditorButtonActive","CuteEditorButton","IsCommandActive","CuteEditorButtonDisabled","IsCommandDisabled","","\x26NoCancel=True","ResourceDir","/Dialogs/Tag.Aspx?settinghash=","\x26Tag=","tagName","TagType","tagType","\x26Tab=","\x26","help:0;status:0;resizable:1;dialogWidth:453px;dialogHeight:496px;","type","Control","parentNode","htmlText","DIV","innerHTML","message",":","AfterEnd","container","\x3Cspan id="," /\x3E","id","afterEnd","TableDropDownDiv","document","cssText","style","position:absolute;z-index:999999;display:none;border:1px solid #c0c0c0;background-color:#eeeeee;","\x3Ctable border=0 cellspacing=0 cellpadding=2 style=\x27border-collapse:collapse;font:normal 9pt MS Sans Serif;\x27\x3E","\x3Ctr\x3E\x3Ctd align=center valign=bottom\x3E","[[Draw Table]]","\x3C/td\x3E\x3Ctr\x3E\x3Ctr\x3E\x3Ctd align=center\x3E","\x3Ctable id=ce_thetable border=0 cellspacing=0 cellpadding=0 style=\x27cursor:hand;border:1px solid darkgray;width:100px;height:66px;border-collapse:collapse;\x27\x3E","\x3Ctr\x3E","\x3Ctd rowindex="," cellindex="," style=\x27width:16px;height:16px;background-color:white;border:1px solid darkgray;\x27\x3E\x3C/td\x3E","\x3C/tr\x3E","\x3C/table\x3E","\x3C/td\x3E\x3Ctr\x3E\x3Ctr\x3E\x3Ctd align=center id=ce_tddesc\x3E","? x ? [[Table]]","\x3Cdiv style=\x27cursor:hand;\x27 class=\x27CuteEditorButton\x27 id=\x27ce_tablewizard\x27 onmouseover=\x27CuteEditor_ButtonOver(this)\x27\x3E[[Table Wizard]]\x3C/div\x3E","\x3C/td\x3E\x3C/tr\x3E\x3C/table\x3E","onclick","ce_tablewizard","ce_thetable","onmouseover","onmouseup","all","unselectable","afterBegin","display","block","offsetHeight","top","left","InsertTable","srcElement","rowindex","cellindex","innerText"," ","none","ce_tddesc"," x "," [[Table]]","backgroundColor","runtimeStyle","gray"]; function editor.EditInWindow(Oxb0,Ox18e){if(Ox18e==null){ Ox18e=window ;} ;return Ox18e.showModalDialog(_CuteEditorResource_+OxOe1c5[0x0]+_setting_+OxOe1c5[0x1],Oxb0,OxOe1c5[0x2]);}  ; function editor.SetActiveTab(Ox18f){ _set_ActiveTab(Ox18f) ;}  ; function editor.GetWindow(){return editwin;}  ; function editor.GetDocument(){return editdoc;}  ; function editor.GetSelection(){return editdoc[OxOe1c5[0x3]];}  ; function editor.CreateEditingElement(arg){return editdoc.createElement(arg);}  ; function editor.GetSavePoint(){return GetSavePoint();}  ; function editor.RestoreSavePoint(Oxa8){ RestoreSavePoint(Oxa8) ;}  ; function editor.FocusDocument(){if(IsActive()){return ;} ;try{ editwin.focus() ;} catch(x){} ;if(IsActive()){var Oxa8=Log_GetSavePoint();if(Oxa8&&Oxa8[OxOe1c5[0x6]]==editdoc[OxOe1c5[0x5]][OxOe1c5[0x4]]){ RestoreSavePoint(Oxa8) ;} ;return ;} ;try{ editdoc.focus() ;} catch(x){} ;if(IsActive()){var Oxa8=Log_GetSavePoint();if(Oxa8&&Oxa8[OxOe1c5[0x6]]==editdoc[OxOe1c5[0x5]][OxOe1c5[0x4]]){ RestoreSavePoint(Oxa8) ;} ;return ;} ;}  ; function editor.LogSavePoint(){if(_get_ActiveTab()!=OxOe1c5[0x7]){return ;} ;var Ox191=Log_GetSavePoint();var Ox192=Ox191?Ox191[OxOe1c5[0x6]]:null;var Ox193=GetSavePoint();if(Ox192!=Ox193[OxOe1c5[0x6]]){ Log_AddSavePoint(Ox193) ; editor.UpdateToolbar() ;} else { Log_SetSavePoint(Ox193) ;} ;}  ; function editor.PostBack(Ox194){ editor.ExecCommand(OxOe1c5[0x8],false,Ox194) ;}  ; function editor.UpdateToolbar(){var Ox195=cmd_active_imgs[OxOe1c5[0x9]];for(var i=0x0;i<Ox195;i++){var Oxba=cmd_active_imgs[i];var Ox196=editor.QueryCommandActive(Oxba.Command);if(Ox196){ Oxba[OxOe1c5[0xa]]=OxOe1c5[0xb] ;} else { Oxba[OxOe1c5[0xa]]=OxOe1c5[0xc] ;} ; Oxba[OxOe1c5[0xd]]=Ox196 ;} ;var Ox195=cmd_enable_imgs[OxOe1c5[0x9]];for(var i=0x0;i<Ox195;i++){var Oxba=cmd_enable_imgs[i];var Ox197=editor.QueryCommandEnable(Oxba.Command);if(!Oxba[OxOe1c5[0xd]]){if(!Ox197){ Oxba[OxOe1c5[0xa]]=OxOe1c5[0xe] ;} else { Oxba[OxOe1c5[0xa]]=OxOe1c5[0xc] ;} ;} ; Oxba[OxOe1c5[0xf]]=!Ox197 ;} ;}  ; function editor.ShowTabDialogWithTransaction(element,Ox18f,Ox198,Ox199){var Oxa8=GetSavePoint();var Ox5b=editor.ShowTagDialog(element,Ox18f,Ox198,Ox199);if(!Ox5b){ RestoreSavePoint(Oxa8) ;} ;return Ox5b;}  ; function editor.ShowTagDialogWithNoCancellable(element,Ox18f,Ox198,Ox199){return ShowTagDialog(element,Ox18f,Ox198,(Ox199||OxOe1c5[0x10])+OxOe1c5[0x11]);}  ; function editor.ShowTagDialog(element,Ox18f,Ox198,Ox199){return showModalDialog(editor[OxOe1c5[0x12]]+OxOe1c5[0x13]+_setting_+OxOe1c5[0x14]+(element[OxOe1c5[0x17]]||element[OxOe1c5[0x16]]||element[OxOe1c5[0x15]])+OxOe1c5[0x18]+(Ox18f||OxOe1c5[0x10])+OxOe1c5[0x19]+(Ox199||OxOe1c5[0x10])+OxOe1c5[0x1],{element:element,editor:editor,window:editwin,document:editdoc,changed:Ox198},OxOe1c5[0x1a]);}  ; function editor.SearchSelectionElement(Ox131){if(editdoc[OxOe1c5[0x3]][OxOe1c5[0x1b]]==OxOe1c5[0x1c]){var Ox2f=editdoc[OxOe1c5[0x3]].createRange().item(0x0);} else {var Ox2f=editdoc[OxOe1c5[0x3]].createRange().parentElement();} ;for(var e=Ox2f;editdoc[OxOe1c5[0x5]].contains(e);e=e[OxOe1c5[0x1d]]){if(e[OxOe1c5[0x15]]==Ox131){return e;} ;} ;return null;}  ; function editor.SelectElement(element){try{var Ox101=editdoc[OxOe1c5[0x5]].createControlRange(); Ox101.add(element) ; Ox101.select() ;} catch(x){var r=editdoc[OxOe1c5[0x5]].createTextRange(); r.moveToElementText(element) ; r.select() ;} ;}  ; function editor.SurroundElement(element){var Oxb0=OxOe1c5[0x10];if(editdoc[OxOe1c5[0x3]][OxOe1c5[0x1b]]!=OxOe1c5[0x1c]){var r=editdoc[OxOe1c5[0x3]].createRange(); Oxb0=r[OxOe1c5[0x1e]] ;var div=editdoc.createElement(OxOe1c5[0x1f]);try{ div[OxOe1c5[0x20]]=Oxb0 ;} catch(x){ alert(x[OxOe1c5[0x21]]+OxOe1c5[0x22]+Oxb0) ;} ; editor.InsertElement(div) ; div.applyElement(element) ; div.removeNode(false) ;} else {var coll=editdoc[OxOe1c5[0x3]].createRange(); editor.InsertElement(element) ;for(var i=0x0;i<coll[OxOe1c5[0x9]];i++){ element.appendChild(coll.item(i)) ;} ;} ; editor.SelectElement(element) ;}  ; function editor.InsertElement(element,Ox19a){if(Ox19a==element){if(editdoc[OxOe1c5[0x5]].contains(element)){return ;} ; Ox19a=null ;} ;if(Ox19a!=null){ Ox19a.insertAdjacentElement(OxOe1c5[0x23],element) ; Ox19a.removeNode(true) ;return ;} ;var Ox19b=OxOe1c5[0x24]+( new Date().getTime());if(editdoc[OxOe1c5[0x3]][OxOe1c5[0x1b]]==OxOe1c5[0x1c]){ RemoveControlsIfNeeded() ; editdoc[OxOe1c5[0x3]].createRange().collapse() ;} else {var Ox2f=editdoc[OxOe1c5[0x3]].createRange().parentElement();if(IsTextControl(Ox2f)){return false;} ;} ; ExecCommand_PasteHTML(false,OxOe1c5[0x25]+Ox19b+OxOe1c5[0x26]) ;var Ox19c=editdoc.all(Ox19b); Ox19c.removeAttribute(OxOe1c5[0x27]) ; Ox19c.insertAdjacentElement(OxOe1c5[0x28],element) ; Ox19c.removeNode(true) ;var Ox119=editdoc[OxOe1c5[0x5]].createControlRange();try{ Ox119.add(element) ; Ox119.select() ;} catch(x){} ; NotifySelectionChange() ;return true;}  ; function editor.TableDropDown(Oxba){var div=GetData(OxOe1c5[0x29]);if(div==null){ div=editor[OxOe1c5[0x2a]].createElement(OxOe1c5[0x1f]) ; div[OxOe1c5[0x2c]][OxOe1c5[0x2b]]=OxOe1c5[0x2d] ;var Oxb0=OxOe1c5[0x2e]; Oxb0+=OxOe1c5[0x2f] ; Oxb0+=OxOe1c5[0x30] ; Oxb0+=OxOe1c5[0x31] ; Oxb0+=OxOe1c5[0x32] ;for(var r=0x0;r<0x4;r++){ Oxb0+=OxOe1c5[0x33] ;for(var Oxc5=0x0;Oxc5<0x6;Oxc5++){ Oxb0+=OxOe1c5[0x34]+r+OxOe1c5[0x35]+Oxc5+OxOe1c5[0x36] ;} ; Oxb0+=OxOe1c5[0x37] ;} ; Oxb0+=OxOe1c5[0x38] ; Oxb0+=OxOe1c5[0x39] ; Oxb0+=OxOe1c5[0x3a] ; Oxb0+=OxOe1c5[0x31] ; Oxb0+=OxOe1c5[0x3b] ; Oxb0+=OxOe1c5[0x3c] ; div[OxOe1c5[0x20]]=Oxb0 ; div.all(OxOe1c5[0x3e])[OxOe1c5[0x3d]]=TableDropDown_TableWizard ;var Ox19d=div.all(OxOe1c5[0x3f]);for(var r=0x0;r<0x4;r++){for(var Oxc5=0x0;Oxc5<0x6;Oxc5++){var Ox5f=Ox19d.rows(r).cells(Oxc5); Ox5f[OxOe1c5[0x40]]=TableDropDown_TDMouseOver ; Ox5f[OxOe1c5[0x41]]=TableDropDown_TDMouseUp ;} ;} ;var coll=div[OxOe1c5[0x42]];for(var i=0x0;i<coll[OxOe1c5[0x9]];i++){ coll(i)[OxOe1c5[0x43]]=true ;} ; frame[OxOe1c5[0x1d]].insertAdjacentElement(OxOe1c5[0x44],div) ; SetData(OxOe1c5[0x29],div) ;} ; div[OxOe1c5[0x2c]][OxOe1c5[0x45]]=OxOe1c5[0x46] ;var Ox85=CalcPosition(div,Oxba); Ox85[OxOe1c5[0x48]]+=Oxba[OxOe1c5[0x47]]-0x2 ; AdjustMirror(div,Oxba,Ox85) ; div[OxOe1c5[0x2c]][OxOe1c5[0x48]]=Ox85[OxOe1c5[0x48]] ; div[OxOe1c5[0x2c]][OxOe1c5[0x49]]=Ox85[OxOe1c5[0x49]] ;var Ox19e= new CaptureManager(div,TableDropDown_Close); Ox19e.AddElement(Oxba) ;}  ; function TableDropDown_TableWizard(){ TableDropDown_Close() ; setTimeout(TableDropDown_TableWizard2,0xa) ;}  ; function TableDropDown_TableWizard2(){ editor.ExecCommand(OxOe1c5[0x4a]) ;}  ; function TableDropDown_TDMouseUp(){var Ox1a2=event[OxOe1c5[0x4b]];var Oxc1=Ox1a2[OxOe1c5[0x4c]];var Oxc2=Ox1a2[OxOe1c5[0x4d]];var div=GetData(OxOe1c5[0x29]);var table=_CreateEditingTable();for(var r=0x0;r<=Oxc1;r++){var Oxc4=table.insertRow();for(var Oxc5=0x0;Oxc5<=Oxc2;Oxc5++){var Oxc6=Oxc4.insertCell(); Oxc6[OxOe1c5[0x4e]]=OxOe1c5[0x4f] ;} ;} ; ExecCommand_PasteHTML(false,table.outerHTML) ; CaptureManager.Unregister(div) ; div[OxOe1c5[0x2c]][OxOe1c5[0x45]]=OxOe1c5[0x50] ;}  ; function TableDropDown_TDMouseOver(){var Ox1a2=event[OxOe1c5[0x4b]];var Oxc1=Ox1a2[OxOe1c5[0x4c]];var Oxc2=Ox1a2[OxOe1c5[0x4d]];var div=GetData(OxOe1c5[0x29]);var Ox19d=div.all(OxOe1c5[0x3f]); div.all(OxOe1c5[0x51])[OxOe1c5[0x4e]]=(parseInt(Oxc2)+0x1)+OxOe1c5[0x52]+(parseInt(Oxc1)+0x1)+OxOe1c5[0x53] ;for(var r=0x0;r<0x4;r++){for(var Oxc5=0x0;Oxc5<0x6;Oxc5++){var Ox5f=Ox19d.rows(r).cells(Oxc5);if(r<=Oxc1&&Oxc5<=Oxc2){ Ox5f[OxOe1c5[0x55]][OxOe1c5[0x54]]=OxOe1c5[0x56] ;} else { Ox5f[OxOe1c5[0x55]][OxOe1c5[0x54]]=OxOe1c5[0x10] ;} ;} ;} ;}  ; function TableDropDown_Close(){var div=GetData(OxOe1c5[0x29]); div[OxOe1c5[0x2c]][OxOe1c5[0x45]]=OxOe1c5[0x50] ; CaptureManager.Unregister(div) ;}  ;


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

AI 解读 AI

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

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