Dialog_Tag_Style_Layout.js
上传用户:simon2hong
上传日期:2021-11-18
资源大小:16746k
文件大小:6k
源码类别:

OA系统

开发平台:

C#

  1. var OxO54ed=["","sel_position","sel_display","sel_float","sel_clear","tb_top","sel_top_unit","tb_height","sel_height_unit","tb_left","sel_left_unit","tb_width","sel_width_unit","tb_cliptop","sel_cliptop_unit","tb_clipbottom","sel_clipbottom_unit","tb_clipleft","sel_clipleft_unit","tb_clipright","sel_clipright_unit","sel_overflow","tb_zindex","sel_pagebreakbefore","sel_pagebreakafter","outer","div_demo","cssText","style","position","value","display","styleFloat","clear","left","top","width","height","length","tb_","sel_","_unit","selectedIndex","options","right","bottom","clip","tb_clip","sel_clip","currentStyle","overflow","zIndex","pageBreakBefore","pageBreakAfter"]; function ParseFloatToString(Ox24){var Oxe=parseFloat(Ox24);if(isNaN(Oxe)){return OxO54ed[0x0];} ;return Oxe+OxO54ed[0x0];}  ;var sel_position=Window_GetElement(window,OxO54ed[0x1],true);var sel_display=Window_GetElement(window,OxO54ed[0x2],true);var sel_float=Window_GetElement(window,OxO54ed[0x3],true);var sel_clear=Window_GetElement(window,OxO54ed[0x4],true);var tb_top=Window_GetElement(window,OxO54ed[0x5],true);var sel_top_unit=Window_GetElement(window,OxO54ed[0x6],true);var tb_height=Window_GetElement(window,OxO54ed[0x7],true);var sel_height_unit=Window_GetElement(window,OxO54ed[0x8],true);var tb_left=Window_GetElement(window,OxO54ed[0x9],true);var sel_left_unit=Window_GetElement(window,OxO54ed[0xa],true);var tb_width=Window_GetElement(window,OxO54ed[0xb],true);var sel_width_unit=Window_GetElement(window,OxO54ed[0xc],true);var tb_cliptop=Window_GetElement(window,OxO54ed[0xd],true);var sel_cliptop_unit=Window_GetElement(window,OxO54ed[0xe],true);var tb_clipbottom=Window_GetElement(window,OxO54ed[0xf],true);var sel_clipbottom_unit=Window_GetElement(window,OxO54ed[0x10],true);var tb_clipleft=Window_GetElement(window,OxO54ed[0x11],true);var sel_clipleft_unit=Window_GetElement(window,OxO54ed[0x12],true);var tb_clipright=Window_GetElement(window,OxO54ed[0x13],true);var sel_clipright_unit=Window_GetElement(window,OxO54ed[0x14],true);var sel_overflow=Window_GetElement(window,OxO54ed[0x15],true);var tb_zindex=Window_GetElement(window,OxO54ed[0x16],true);var sel_pagebreakbefore=Window_GetElement(window,OxO54ed[0x17],true);var sel_pagebreakafter=Window_GetElement(window,OxO54ed[0x18],true);var outer=Window_GetElement(window,OxO54ed[0x19],true);var div_demo=Window_GetElement(window,OxO54ed[0x1a],true); UpdateState=function UpdateState_Layout(){ div_demo[OxO54ed[0x1c]][OxO54ed[0x1b]]=element[OxO54ed[0x1c]][OxO54ed[0x1b]] ;}  ; SyncToView=function SyncToView_Layout(){ sel_position[OxO54ed[0x1e]]=element[OxO54ed[0x1c]][OxO54ed[0x1d]] ; sel_display[OxO54ed[0x1e]]=element[OxO54ed[0x1c]][OxO54ed[0x1f]] ; sel_float[OxO54ed[0x1e]]=element[OxO54ed[0x1c]][OxO54ed[0x20]] ; sel_clear[OxO54ed[0x1e]]=element[OxO54ed[0x1c]][OxO54ed[0x21]] ;var arr=[OxO54ed[0x22],OxO54ed[0x23],OxO54ed[0x24],OxO54ed[0x25]];for(var Ox189=0x0;Ox189<arr[OxO54ed[0x26]];Ox189++){var n=arr[Ox189];var Oxb0=document.getElementById(OxO54ed[0x27]+n);var Ox2a=document.getElementById(OxO54ed[0x28]+n+OxO54ed[0x29]); Ox2a[OxO54ed[0x2a]]=0x0 ;if(ParseFloatToString(element[OxO54ed[0x1c]][n])){ Oxb0[OxO54ed[0x1e]]=ParseFloatToString(element[OxO54ed[0x1c]][n]) ;for(var i=0x0;i<Ox2a[OxO54ed[0x2b]][OxO54ed[0x26]];i++){var Ox60=Ox2a[OxO54ed[0x2b]][i][OxO54ed[0x1e]];if(Ox60&&element[OxO54ed[0x1c]][n].indexOf(Ox60)!=-0x1){ Ox2a[OxO54ed[0x2a]]=i ;break ;} ;} ;} ;} ;var arr=[OxO54ed[0x22],OxO54ed[0x23],OxO54ed[0x2c],OxO54ed[0x2d]];for(var Ox189=0x0;Ox189<arr[OxO54ed[0x26]];Ox189++){var n=arr[Ox189];var Ox4cd=OxO54ed[0x2e]+n.charAt(0x0).toUpperCase()+n.substring(0x1);var Oxb0=document.getElementById(OxO54ed[0x2f]+n);var Ox2a=document.getElementById(OxO54ed[0x30]+n+OxO54ed[0x29]); Ox2a[OxO54ed[0x2a]]=0x0 ;var Ox4ce;if(Browser_IsWinIE()){ Ox4ce=element[OxO54ed[0x31]][Ox4cd] ;} else { Ox4ce=element[OxO54ed[0x1c]][Ox4cd] ;} ;if(ParseFloatToString(Ox4ce)){ Oxb0[OxO54ed[0x1e]]=ParseFloatToString(Ox4ce) ;for(var i=0x0;i<Ox2a[OxO54ed[0x2b]][OxO54ed[0x26]];i++){var Ox60=Ox2a[OxO54ed[0x2b]][i][OxO54ed[0x1e]];if(Ox60&&Ox4ce.indexOf(Ox60)!=-0x1){ Ox2a[OxO54ed[0x2a]]=i ;break ;} ;} ;} ;} ; sel_overflow[OxO54ed[0x1e]]=element[OxO54ed[0x1c]][OxO54ed[0x32]] ; tb_zindex[OxO54ed[0x1e]]=element[OxO54ed[0x1c]][OxO54ed[0x33]] ; sel_pagebreakbefore[OxO54ed[0x1e]]=element[OxO54ed[0x1c]][OxO54ed[0x34]] ; sel_pagebreakafter[OxO54ed[0x1e]]=element[OxO54ed[0x1c]][OxO54ed[0x35]] ;}  ; SyncTo=function SyncTo_Layout(element){ element[OxO54ed[0x1c]][OxO54ed[0x1d]]=sel_position[OxO54ed[0x1e]] ; element[OxO54ed[0x1c]][OxO54ed[0x1f]]=sel_display[OxO54ed[0x1e]] ; element[OxO54ed[0x1c]][OxO54ed[0x20]]=sel_float[OxO54ed[0x1e]] ; element[OxO54ed[0x1c]][OxO54ed[0x21]]=sel_clear[OxO54ed[0x1e]] ;var arr=[OxO54ed[0x22],OxO54ed[0x23],OxO54ed[0x24],OxO54ed[0x25]];for(var Ox189=0x0;Ox189<arr[OxO54ed[0x26]];Ox189++){var n=arr[Ox189];var Oxb0=document.getElementById(OxO54ed[0x27]+n);if(ParseFloatToString(Oxb0.value)){ element[OxO54ed[0x1c]][n]=ParseFloatToString(Oxb0.value)+document.all(OxO54ed[0x28]+n+OxO54ed[0x29])[OxO54ed[0x1e]] ;} else { element[OxO54ed[0x1c]][n]=OxO54ed[0x0] ;} ;} ;var arr=[OxO54ed[0x22],OxO54ed[0x23],OxO54ed[0x2c],OxO54ed[0x2d]];for(var Ox189=0x0;Ox189<arr[OxO54ed[0x26]];Ox189++){var n=arr[Ox189];var Ox4cd=OxO54ed[0x2e]+n.charAt(0x0).toUpperCase()+n.substring(0x1);var Oxb0=document.getElementById(OxO54ed[0x2f]+n);if(ParseFloatToString(Oxb0.value)){ element[OxO54ed[0x1c]][Ox4cd]=ParseFloatToString(Oxb0.value)+document.all(OxO54ed[0x30]+n+OxO54ed[0x29])[OxO54ed[0x1e]] ;} else { element[OxO54ed[0x1c]][Ox4cd]=OxO54ed[0x0] ;} ;} ; element[OxO54ed[0x1c]][OxO54ed[0x32]]=sel_overflow[OxO54ed[0x1e]] ; element[OxO54ed[0x1c]][OxO54ed[0x33]]=ParseFloatToString(tb_zindex.value) ; element[OxO54ed[0x1c]][OxO54ed[0x34]]=sel_pagebreakbefore[OxO54ed[0x1e]] ; element[OxO54ed[0x1c]][OxO54ed[0x35]]=sel_pagebreakafter[OxO54ed[0x1e]] ;}  ;