Dialog_InsertEmotion.js
上传用户:simon2hong
上传日期:2021-11-18
资源大小:16746k
文件大小:1k
- var OxO59e0=[""," ","=x22","x22","src","^[a-z]*:[/][/][^/]*","Edit","x3CIMG border=x220x22 align=x22absmiddlex22 src=x22","x22 src_cetemp=x22","x22x3E","ImageTable","IMG","length","className","dialogButton","CuteEditor_ColorPicker_ButtonOver(this)","onmouseover","insert(this)","onclick"];var editor=Window_GetDialogArguments(window); function attr(name,Ox1be){if(!Ox1be||Ox1be==OxO59e0[0x0]){return OxO59e0[0x0];} ;return OxO59e0[0x1]+name+OxO59e0[0x2]+Ox1be+OxO59e0[0x3];} ; function insert(img){if(img){var src=img[OxO59e0[0x4]]; src=src.replace( new RegExp(OxO59e0[0x5],OxO59e0[0x0]),OxO59e0[0x0]) ;var Ox29=OxO59e0[0x0];if(editor.GetActiveTab()==OxO59e0[0x6]){ Ox29=OxO59e0[0x7]+src+OxO59e0[0x8]+src+OxO59e0[0x9] ;} else { Ox29=OxO59e0[0x7]+src+OxO59e0[0x9] ;} ; editor.PasteHTML(Ox29) ; Window_CloseDialog(window) ;} ;} ; function cancel(){ Window_CloseDialog(window) ;} ;var ImageTable=Window_GetElement(window,OxO59e0[0xa],true);var images=ImageTable.getElementsByTagName(OxO59e0[0xb]);var len=images[OxO59e0[0xc]];for(var i=0x0;i<len;i++){var img=images[i]; img[OxO59e0[0xd]]=OxO59e0[0xe] ; img[OxO59e0[0x10]]= new Function(OxO59e0[0xf]) ; img[OxO59e0[0x12]]= new Function(OxO59e0[0x11]) ;} ;