Dialog_InsertChars.js
上传用户:simon2hong
上传日期:2021-11-18
资源大小:16746k
文件大小:1k
- var OxOe126=["Verdana","innerHTML","Unicode","innerText","x3Cspan style=x27font-family:","x27x3E","x3C/spanx3E","selfont","length","checked","value","charstable1","charstable2","fontFamily","style","display","block","none"];var editor=Window_GetDialogArguments(window); function getchar(obj){var Ox29;var Ox84=getFontValue()||OxOe126[0x0];if(!obj[OxOe126[0x1]]){return ;} ; Ox29=obj[OxOe126[0x1]] ;if(Ox84==OxOe126[0x2]){ Ox29=obj[OxOe126[0x3]] ;} else {if(Ox84!=OxOe126[0x0]){ Ox29=OxOe126[0x4]+Ox84+OxOe126[0x5]+obj[OxOe126[0x1]]+OxOe126[0x6] ;} ;} ; editor.PasteHTML(Ox29) ; Window_CloseDialog(window) ;} ; function cancel(){ Window_CloseDialog(window) ;} ; function getFontValue(){var coll=document.getElementsByName(OxOe126[0x7]);for(var i=0x0;i<coll[OxOe126[0x8]];i++){if(coll.item(i)[OxOe126[0x9]]){return coll.item(i)[OxOe126[0xa]];} ;} ;} ; function sel_font_change(){var Ox88=getFontValue()||OxOe126[0x0];var Ox26e=Window_GetElement(window,OxOe126[0xb],true);var Ox26f=Window_GetElement(window,OxOe126[0xc],true); Ox26e[OxOe126[0xe]][OxOe126[0xd]]=Ox88 ; Ox26e[OxOe126[0xe]][OxOe126[0xf]]=(Ox88!=OxOe126[0x2]?OxOe126[0x10]:OxOe126[0x11]) ; Ox26f[OxOe126[0xe]][OxOe126[0xf]]=(Ox88==OxOe126[0x2]?OxOe126[0x10]:OxOe126[0x11]) ;} ;