Dialog_Tag_Tr.js
上传用户:simon2hong
上传日期:2021-11-18
资源大小:16746k
文件大小:4k
- var OxOab19=["inp_width","inp_height","sel_align","sel_valign","inp_bgColor","inp_borderColor","inp_borderColorLight","inp_borderColorDark","inp_class","inp_id","inp_tooltip","specified","","nodeValue","backgroundColor","style","bgColor","value","id","borderColor","borderColorLight","borderColorDark","className","width","height","align","vAlign","title","[[ValidNumber]]","[[ValidID]]","class","valign","onclick"];var inp_width=Window_GetElement(window,OxOab19[0x0],true);var inp_height=Window_GetElement(window,OxOab19[0x1],true);var sel_align=Window_GetElement(window,OxOab19[0x2],true);var sel_valign=Window_GetElement(window,OxOab19[0x3],true);var inp_bgColor=Window_GetElement(window,OxOab19[0x4],true);var inp_borderColor=Window_GetElement(window,OxOab19[0x5],true);var inp_borderColorLight=Window_GetElement(window,OxOab19[0x6],true);var inp_borderColorDark=Window_GetElement(window,OxOab19[0x7],true);var inp_class=Window_GetElement(window,OxOab19[0x8],true);var inp_id=Window_GetElement(window,OxOab19[0x9],true);var inp_tooltip=Window_GetElement(window,OxOab19[0xa],true); SyncToView=function SyncToView_Tr(){ function GetAttribute(Ox30f){var attr=element.getAttributeNode(Ox30f);if(attr==null||!attr[OxOab19[0xb]]){return OxOab19[0xc];} ;return attr[OxOab19[0xd]];} ; inp_bgColor[OxOab19[0x11]]=GetAttribute(OxOab19[0x10])||element[OxOab19[0xf]][OxOab19[0xe]] ; inp_id[OxOab19[0x11]]=GetAttribute(OxOab19[0x12]) ; inp_bgColor[OxOab19[0xf]][OxOab19[0xe]]=inp_bgColor[OxOab19[0x11]] ; inp_borderColor[OxOab19[0x11]]=GetAttribute(OxOab19[0x13]) ; inp_borderColor[OxOab19[0xf]][OxOab19[0xe]]=inp_borderColor[OxOab19[0x11]] ; inp_borderColorLight[OxOab19[0x11]]=GetAttribute(OxOab19[0x14]) ; inp_borderColorLight[OxOab19[0xf]][OxOab19[0xe]]=inp_borderColorLight[OxOab19[0x11]] ; inp_borderColorDark[OxOab19[0x11]]=GetAttribute(OxOab19[0x15]) ; inp_borderColorDark[OxOab19[0xf]][OxOab19[0xe]]=inp_borderColorDark[OxOab19[0x11]] ; inp_class[OxOab19[0x11]]=element[OxOab19[0x16]] ; inp_width[OxOab19[0x11]]=GetAttribute(OxOab19[0x17]) ; inp_height[OxOab19[0x11]]=GetAttribute(OxOab19[0x18]) ; sel_align[OxOab19[0x11]]=GetAttribute(OxOab19[0x19]) ; sel_valign[OxOab19[0x11]]=GetAttribute(OxOab19[0x1a]) ; inp_tooltip[OxOab19[0x11]]=GetAttribute(OxOab19[0x1b]) ;} ; SyncTo=function SyncTo_Tr(element){if(inp_bgColor[OxOab19[0x11]]){if(element[OxOab19[0xf]][OxOab19[0xe]]){ element[OxOab19[0xf]][OxOab19[0xe]]=inp_bgColor[OxOab19[0x11]] ;} else { element[OxOab19[0x10]]=inp_bgColor[OxOab19[0x11]] ;} ;} ; element[OxOab19[0x13]]=inp_borderColor[OxOab19[0x11]] ; element[OxOab19[0x14]]=inp_borderColorLight[OxOab19[0x11]] ; element[OxOab19[0x15]]=inp_borderColorDark[OxOab19[0x11]] ; element[OxOab19[0x16]]=inp_class[OxOab19[0x11]] ;try{ element[OxOab19[0x17]]=inp_width[OxOab19[0x11]] ; element[OxOab19[0x18]]=inp_height[OxOab19[0x11]] ;} catch(er){ alert(OxOab19[0x1c]) ;} ;var Ox268=/[^a-zd]/i;if(Ox268.test(inp_id.value)){ alert(OxOab19[0x1d]) ;return ;} ; element[OxOab19[0x19]]=sel_align[OxOab19[0x11]] ; element[OxOab19[0x12]]=inp_id[OxOab19[0x11]] ; element[OxOab19[0x1a]]=sel_valign[OxOab19[0x11]] ; element[OxOab19[0x1b]]=inp_tooltip[OxOab19[0x11]] ;if(element[OxOab19[0x12]]==OxOab19[0xc]){ element.removeAttribute(OxOab19[0x12]) ;} ;if(element[OxOab19[0x10]]==OxOab19[0xc]){ element.removeAttribute(OxOab19[0x10]) ;} ;if(element[OxOab19[0x13]]==OxOab19[0xc]){ element.removeAttribute(OxOab19[0x13]) ;} ;if(element[OxOab19[0x14]]==OxOab19[0xc]){ element.removeAttribute(OxOab19[0x14]) ;} ;if(element[OxOab19[0x7]]==OxOab19[0xc]){ element.removeAttribute(OxOab19[0x7]) ;} ;if(element[OxOab19[0x16]]==OxOab19[0xc]){ element.removeAttribute(OxOab19[0x16]) ;} ;if(element[OxOab19[0x16]]==OxOab19[0xc]){ element.removeAttribute(OxOab19[0x1e]) ;} ;if(element[OxOab19[0x19]]==OxOab19[0xc]){ element.removeAttribute(OxOab19[0x19]) ;} ;if(element[OxOab19[0x1a]]==OxOab19[0xc]){ element.removeAttribute(OxOab19[0x1f]) ;} ;if(element[OxOab19[0x1b]]==OxOab19[0xc]){ element.removeAttribute(OxOab19[0x1b]) ;} ;if(element[OxOab19[0x17]]==OxOab19[0xc]){ element.removeAttribute(OxOab19[0x17]) ;} ;if(element[OxOab19[0x18]]==OxOab19[0xc]){ element.removeAttribute(OxOab19[0x18]) ;} ;} ;if(!Browser_IsWinIE()){ inp_borderColor[OxOab19[0x20]]=function inp_borderColor_onclick(){ SelectColor(inp_borderColor) ;} ; inp_bgColor[OxOab19[0x20]]=function inp_bgColor_onclick(){ SelectColor(inp_bgColor) ;} ;} ;