www.gusucode.com > 一款经典的Js仿Windows窗口特效集源码程序 > 一款经典的Js仿Windows窗口特效集/仿微软视窗/仿微软视窗/winlike/winedit/winedit.js

    /* WinLIKE 1.4.08 (c) 1998-2005 by CEITON technologies GmbH - www.ceiton.com
   all rights reserved - patent pending */
eg_=g_;cy_=g_;bb_=a_;b_.dB_=new Object;b_.dB_.Active=a_;b_.dB_.show=dC_;function cs_(){eval(A_);with(__[C_]){A=J_?WinLIKE_x:Left;B=J_?WinLIKE_y:Top;C=J_?Width:WinLIKE_x;D=J_?Height:WinLIKE_y}window.status="("+A+","+B+")+("+C+","+D+")=('" +t_(u_(A,0,1))+"%', '"+t_(u_(B,1,1))+"%')+('"+t_(u_(C,0,1))+"%', '"+t_(u_(D,1,1))+"%')";return a_}function f1_(){F1_()}function F1_(){eg_=ec_(0,a_)}function f2_(){F2_()}function F2_(){d9_()}function f4_(){dc_()}function f5_(){F5_()}function F5_(){ek_()}function f6_(a){db_(a)}function f7_(){cz_(eg_,a_)}function a4_(a){a=new b_.window('Properties',625,15,345,480,e8_+1);a.Ed=0;a.SD=0;a.HD=0;a.Nam="cx_";a.Adr=df_+'we-editor.html';a.LD=0;b_.createwindow(a);return a}function d9_(a,b){b=D_("cx_");if(!b)a=a4_();else{a=__[b];a.Vis=!a.Vis;a.Y_=0}dp_(a.q_)}function dC_(a,b){a=new b_.window('Tools',15,15,50,286);with(a){Nam="dB_";SD=0;Ed=0;Min=0;HD=0;Fro=a_;Cls=0;Siz=0;LD=0;Adr=df_+'we-tools.html'}b_.createwindow(a);b=new b_.window('',110,165,639,491,2);b.Nam=bj_+'_quick';b.Ed=0;b.Vis=0;b_.addwindow(b)}function db_(a,b){if(!D_("bn_")){b=new b_.window('',140,65,380,450,e8_+1);b.Ed=0;b.LD=F_;b.Nam="bn_";b.Adr=df_+'hlp-info.html';a?b_.createwindow(b):b_.addwindow(b)}else cj_(df_+'hlp-info.html',g_,"bn_")}ao_=new Array('Ttl','Adr','Nam','Ski','Fro','Vis','Tit','Min','Cls','Mov','Siz');function F3_(){f3_()}function f3_(a,b,c,d){if(cy_&&cy_.Ed){a=D_("cx_");b=n_(a);for(c=0;c<h_(ao_);c++){d=d_(b,ao_[c]);eval("cy_."+ao_[c]+'='+(d.type=="text"?M_(d.value):d.checked)+';')}c=cy_.q_;__[c]=cy_;__[c].eo_=aY_(__[c],g_);if(e_(c)){if(__[c].ch_&&__[c].ch_!=__[c].Ski)__[c].dk_=0;__[c].Y_=0;dp_(cy_.q_)}}}function cz_(a,b){eval(A_);A=D_("cx_");if(!a||!e_(a)||!__[a].Ed||!A||(cy_&&cy_.q_==a&&!b))return;cy_=__[a];B=n_(A);for(C=0;C<h_(ao_);C++){D=eval("cy_."+ao_[C]);E=d_(B,ao_[C]);if(E){E.type!='text'?E.checked=D:E.value=D}}}function ek_(){ed_=0;d5_("ag_()",0)}function ag_(){eval(A_);A='<SCRIPT';B='</SCRIPT>';C=D_("do_");if(!C||!e_(C)){D=new b_.window('Save',75,130,600,450);with(D){Ed=0;SD=0;HD=0;Nam="do_";Adr=df_+'we-save.html'}b_.createwindow(D);d5_("ag_()",a_)}if(C&&!ed_){E=n_(C);if(E)F=d_(E,'ta');V_(C);if(!F)d5_("ag_()",F_);else{G=m_+'<!-- WinLIKE (c) 1998-2005 by CEITON technologies GmbH - www.winlike.net -->'+m_+m_+'<!-- Change this source for older browsers! -->'+A+">WinLIKEerrorpage='winlike/winman/hlp-error.html';"+B+m_+A+' SRC="'+de_+'wininit.js">'+B+A+' SRC="'+de_+'winman.js">'+B+m_+'<!-- Delete this line, if the editor should not be used anymore. -->'+A+' SRC="'+df_+'winedit.js">'+B+m_+m_+A+'>'+m_+"WinLIKE.definewindows="+'mydefs;'+m_+'function mydefs()'+m_+'{';G+=_H_(a_,0);G+='}'+m_+B+m_+m_+'<BODY onLoad='+"WinLIKE.init()"+' onResize='+"WinLIKE.resizewindows()"+'>'+m_+'<!-- Don'+"'"+'t remove this line!-->'+'<IMG ID=ih_ SRC="skins/trans.gif" style="z-Index:4000;position:absolute;left:0;top:0;width:100%;height:100%">'+m_+'<!-- You can change this loading picture! --><IMG ID=ig_ SRC="winlike/winman/load.gif" STYLE="position:absolute;left:35%;top:40%;z-Index:4001">'+m_+m_+'<!-- Insert your page-content here! -->'+m_+m_+m_;F.value=G;ed_=a_;}}}