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

📄 dialog_tag_tr.js

📁 在线网页编辑器.net 2.0版!不错的在线网页编辑器
💻 JS
字号:
var OxO8926=["inp_width","inp_height","sel_align","sel_valign","inp_bgColor","inp_borderColor","inp_borderColorLight","inp_borderColorDark","inp_class","inp_id","inp_tooltip","backgroundColor","style","bgColor","value","id","borderColor","borderColorLight","borderColorDark","className","width","height","align","vAlign","title","[[ValidNumber]]","[[ValidID]]","","class","valign","onclick","oncolorchange","selectedColor"];var inp_width=Window_GetElement(window,OxO8926[0x0],true);var inp_height=Window_GetElement(window,OxO8926[0x1],true);var sel_align=Window_GetElement(window,OxO8926[0x2],true);var sel_valign=Window_GetElement(window,OxO8926[0x3],true);var inp_bgColor=Window_GetElement(window,OxO8926[0x4],true);var inp_borderColor=Window_GetElement(window,OxO8926[0x5],true);var inp_borderColorLight=Window_GetElement(window,OxO8926[0x6],true);var inp_borderColorDark=Window_GetElement(window,OxO8926[0x7],true);var inp_class=Window_GetElement(window,OxO8926[0x8],true);var inp_id=Window_GetElement(window,OxO8926[0x9],true);var inp_tooltip=Window_GetElement(window,OxO8926[0xa],true); SyncToView=function SyncToView_Tr(){ inp_bgColor[OxO8926[0xe]]=element.getAttribute(OxO8926[0xd])||element[OxO8926[0xc]][OxO8926[0xb]] ; inp_id[OxO8926[0xe]]=element.getAttribute(OxO8926[0xf]) ; inp_bgColor[OxO8926[0xc]][OxO8926[0xb]]=inp_bgColor[OxO8926[0xe]] ; inp_borderColor[OxO8926[0xe]]=element.getAttribute(OxO8926[0x10]) ; inp_borderColor[OxO8926[0xc]][OxO8926[0xb]]=inp_borderColor[OxO8926[0xe]] ; inp_borderColorLight[OxO8926[0xe]]=element.getAttribute(OxO8926[0x11]) ; inp_borderColorLight[OxO8926[0xc]][OxO8926[0xb]]=inp_borderColorLight[OxO8926[0xe]] ; inp_borderColorDark[OxO8926[0xe]]=element.getAttribute(OxO8926[0x12]) ; inp_borderColorDark[OxO8926[0xc]][OxO8926[0xb]]=inp_borderColorDark[OxO8926[0xe]] ; inp_class[OxO8926[0xe]]=element[OxO8926[0x13]] ; inp_width[OxO8926[0xe]]=element.getAttribute(OxO8926[0x14])||element[OxO8926[0xc]][OxO8926[0x14]] ; inp_height[OxO8926[0xe]]=element.getAttribute(OxO8926[0x15])||element[OxO8926[0xc]][OxO8926[0x15]] ; sel_align[OxO8926[0xe]]=element.getAttribute(OxO8926[0x16]) ; sel_valign[OxO8926[0xe]]=element.getAttribute(OxO8926[0x17]) ; inp_tooltip[OxO8926[0xe]]=element.getAttribute(OxO8926[0x18]) ;}  ; SyncTo=function SyncTo_Tr(element){if(inp_bgColor[OxO8926[0xe]]){if(element[OxO8926[0xc]][OxO8926[0xb]]){ element[OxO8926[0xc]][OxO8926[0xb]]=inp_bgColor[OxO8926[0xe]] ;} else { element[OxO8926[0xd]]=inp_bgColor[OxO8926[0xe]] ;} ;} else { element.removeAttribute(OxO8926[0xd]) ;} ; element[OxO8926[0x10]]=inp_borderColor[OxO8926[0xe]] ; element[OxO8926[0x11]]=inp_borderColorLight[OxO8926[0xe]] ; element[OxO8926[0x12]]=inp_borderColorDark[OxO8926[0xe]] ; element[OxO8926[0x13]]=inp_class[OxO8926[0xe]] ;if(element[OxO8926[0xc]][OxO8926[0x14]]||element[OxO8926[0xc]][OxO8926[0x15]]){try{ element[OxO8926[0xc]][OxO8926[0x14]]=inp_width[OxO8926[0xe]] ; element[OxO8926[0xc]][OxO8926[0x15]]=inp_height[OxO8926[0xe]] ;} catch(er){ alert(OxO8926[0x19]) ;} ;} else {try{ element[OxO8926[0x14]]=inp_width[OxO8926[0xe]] ; element[OxO8926[0x15]]=inp_height[OxO8926[0xe]] ;} catch(er){ alert(OxO8926[0x19]) ;} ;} ;var Ox252=/[^a-z\d]/i;if(Ox252.test(inp_id.value)){ alert(OxO8926[0x1a]) ;return ;} ; element[OxO8926[0x16]]=sel_align[OxO8926[0xe]] ; element[OxO8926[0xf]]=inp_id[OxO8926[0xe]] ; element[OxO8926[0x17]]=sel_valign[OxO8926[0xe]] ; element[OxO8926[0x18]]=inp_tooltip[OxO8926[0xe]] ;if(element[OxO8926[0xf]]==OxO8926[0x1b]){ element.removeAttribute(OxO8926[0xf]) ;} ;if(element[OxO8926[0xd]]==OxO8926[0x1b]){ element.removeAttribute(OxO8926[0xd]) ;} ;if(element[OxO8926[0x10]]==OxO8926[0x1b]){ element.removeAttribute(OxO8926[0x10]) ;} ;if(element[OxO8926[0x11]]==OxO8926[0x1b]){ element.removeAttribute(OxO8926[0x11]) ;} ;if(element[OxO8926[0x7]]==OxO8926[0x1b]){ element.removeAttribute(OxO8926[0x7]) ;} ;if(element[OxO8926[0x13]]==OxO8926[0x1b]){ element.removeAttribute(OxO8926[0x13]) ;} ;if(element[OxO8926[0x13]]==OxO8926[0x1b]){ element.removeAttribute(OxO8926[0x1c]) ;} ;if(element[OxO8926[0x16]]==OxO8926[0x1b]){ element.removeAttribute(OxO8926[0x16]) ;} ;if(element[OxO8926[0x17]]==OxO8926[0x1b]){ element.removeAttribute(OxO8926[0x1d]) ;} ;if(element[OxO8926[0x18]]==OxO8926[0x1b]){ element.removeAttribute(OxO8926[0x18]) ;} ;if(element[OxO8926[0x14]]==OxO8926[0x1b]){ element.removeAttribute(OxO8926[0x14]) ;} ;if(element[OxO8926[0x15]]==OxO8926[0x1b]){ element.removeAttribute(OxO8926[0x15]) ;} ;}  ;if(!Browser_IsWinIE()){ inp_borderColor[OxO8926[0x1e]]=function inp_borderColor_onclick(){ SelectColor(inp_borderColor) ;}  ; inp_bgColor[OxO8926[0x1e]]=function inp_bgColor_onclick(){ SelectColor(inp_bgColor) ;}  ;} else { inp_borderColor[OxO8926[0x1f]]=function inp_borderColor_oncolorchange(){ inp_borderColor[OxO8926[0xe]]=this[OxO8926[0x20]] ; inp_borderColor[OxO8926[0xc]][OxO8926[0xb]]=this[OxO8926[0x20]] ;}  ; inp_bgColor[OxO8926[0x1f]]=function inp_bgColor_oncolorchange(){ inp_bgColor[OxO8926[0xe]]=this[OxO8926[0x20]] ; inp_bgColor[OxO8926[0xc]][OxO8926[0xb]]=this[OxO8926[0x20]] ;}  ; inp_borderColorLight[OxO8926[0x1f]]=function inp_borderColorLight_oncolorchange(){ inp_borderColorLight[OxO8926[0xe]]=this[OxO8926[0x20]] ; inp_borderColorLight[OxO8926[0xc]][OxO8926[0xb]]=this[OxO8926[0x20]] ;}  ; inp_borderColorDark[OxO8926[0x1f]]=function inp_borderColorDark_oncolorchange(){ inp_borderColorDark[OxO8926[0xe]]=this[OxO8926[0x20]] ; inp_borderColorDark[OxO8926[0xc]][OxO8926[0xb]]=this[OxO8926[0x20]] ;}  ;} ;

⌨️ 快捷键说明

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