Dialog_Tag_Media.js
上传用户:simon2hong
上传日期:2021-11-18
资源大小:16746k
文件大小:1k
- var OxO256e=["img_demo","btnbrowse","inp_src","onclick","value","cssText","style","src","FileName"];var img_demo=Window_GetElement(window,OxO256e[0x0],true);var btnbrowse=Window_GetElement(window,OxO256e[0x1],true);var inp_src=Window_GetElement(window,OxO256e[0x2],true); btnbrowse[OxO256e[0x3]]=function btnbrowse_onclick(){ function Ox20e(Ox330){if(Ox330){ inp_src[OxO256e[0x4]]=Ox330 ;} ;} ; editor.SetNextDialogWindow(window) ; editor.ShowSelectFileDialog(Ox20e,inp_src.value) ;} ; UpdateState=function UpdateState_Media(){ img_demo[OxO256e[0x6]][OxO256e[0x5]]=element[OxO256e[0x6]][OxO256e[0x5]] ; img_demo.mergeAttributes(element) ;if(element[OxO256e[0x7]]){ img_demo[OxO256e[0x8]]=element[OxO256e[0x8]] ;} else { img_demo.removeAttribute(OxO256e[0x8]) ;} ;} ; SyncToView=function SyncToView_Media(){ inp_src[OxO256e[0x4]]=element[OxO256e[0x8]] ;} ; SyncTo=function SyncTo_Media(element){ element[OxO256e[0x8]]=inp_src[OxO256e[0x4]] ;} ;