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

📄 cdjcv.js

📁 一个绝对棒的报表绘图软件
💻 JS
📖 第 1 页 / 共 2 页
字号:
ase_0=navigator.userAgent.toLowerCase();ase_1=(ase_0.indexOf('gecko')!=-1&&ase_0.indexOf('safari')==-1);ase_2=(ase_0.indexOf('konqueror')!=-1);ase_3=(ase_0.indexOf('safari')!=-1);ase_4=(ase_0.indexOf('opera')!=-1);ase_5=(ase_0.indexOf('msie')!=-1&&!ase_4&&(ase_0.indexOf('webtv')==-1));ase_6=ase_5?-2:0;function ase_7(){return(new RegExp("msie ([0-9]{1,}[\.0-9]{0,})").exec(ase_0)!=null)?parseFloat(RegExp.$1):6.0;}function ase_8(id){return document.getElementById?document.getElementById(id):document.all[id];}function ase_9(e,l9,la,lb,lc){if(window.event)return window.event[l9]+((document.documentElement&&document.documentElement[la])||document.body[la]);else return(typeof e[lb]!='undefined')?e[lb]:e[l9]+window[lc];}function ase_a(e){return ase_9(e,"clientX","scrollLeft","pageX","scrollX")+ase_6;}function ase_b(e){return ase_9(e,"clientY","scrollTop","pageY","scrollY")+ase_6;}function ase_c(e){if(ase_5&&window.event)return window.event.button;else return(e.which==3)?2:e.which;}function ase_d(ld,le){return ld?ld[le]+ase_d(ld.offsetParent,le):0;}function ase_e(ld){return ase_d(ld,"offsetLeft")+(ld.offsetWidth-ld.clientWidth)/2;}function ase_f(ld){return ase_d(ld,"offsetTop")+(ld.offsetHeight-ld.clientHeight)/2;}function ase_g(lf,lg){return lf+((lf.indexOf('?')!=-1)?'&':'?')+lg;}function ase_h(lh,li,lj){var re=new RegExp(li,'g');return lh.replace(re,lj);}function ase_i(ll){var lm=document.scripts;if(((!lm)||(!lm.length))&&document.getElementsByTagName)lm=document.getElementsByTagName("script");if(lm){for(var i=0;i<lm.length;++i){var lo=lm[i].src;if(!lo)continue;var lp=lo.indexOf(ll);if(lp!=-1)return lo.substring(0,lp);}}return "";}function ase_j(lq,lr,ls){var lt=lq.indexOf(lr);var lu=lq.indexOf(ls);if((lt<0)||(lu<=lt))return '';else return lq.substring(lt+lr.length,lu);}function ase_k(lq,lv){var lp=lq.indexOf(lv);return(lp>=0)?lq.substring(0,lp):lq;}function ase_l(lq,lv){var lp=lq.indexOf(lv);return(lp>=0)?lq.substring(lp+1,lq.length):"";}function ase_m(v){return ase_h(ase_h(v,'&','&amp;'),'"','&#34;');}function ase_n(n){n.onload=n.onerror=n.src='';var p=n.parentNode||n.parentElement;if(p&&p.removeChild)p.removeChild(n);else if(n.outerHTML)n.outerHTML='';}function ase_o(f){var f2=frames[f.id];if(f2){var d2=f2.contentDocument||f2.document;if(d2)return d2.body.innerHTML;}return null;}function ase_AJAX_frame_loaded(f){if(f.lx1)return;var l21=ase_o(f);if(null!=l21)f.lh1(l21);ase_n(f);}function ase_AJAX_frame_error(f){if(f.li1)f.li1(700,ase_o(f));ase_n(f);}function ase_p(lf,l31,l41){var f=null;var l51="ase_AJAX_frame_"+(new Date().getTime());if(ase_5&&(ase_7()>=5.5)){document.body.insertAdjacentHTML('AfterBegin',"<IFRAME NAME='"+l51+"' ID='"+l51+"' style='display:none' onload='ase_AJAX_frame_loaded(this)' onerror='ase_AJAX_frame_error(this)'></IFRAME>");f=ase_8(l51);}if(!f){if(l41)l41(600,"Cannot create IFRAME '"+l51+"'");return null;}var f2=frames[f.id];var d2=f2.contentDocument||f2.document;f.lx1=true;d2.open();d2.write('<html><body><form name="ase_form" method="'+((lf.length<1000)?'get':'post')+'" action="'+ase_m(ase_k(lf,"?"))+'">');var l61=ase_l(lf,"?").split("&");for(var i=0;i<l61.length;++i){d2.write('<input type="hidden" name="'+ase_m(ase_k(l61[i],"="))+'" value="'+ase_m(unescape(ase_l(l61[i],"=")))+'">');}d2.write('</form></body></html>');d2.close();f.lx1=false;f.lh1=l31;f.li1=l41;d2.forms['ase_form'].submit();return{'abort':function(){ase_n(f);}};}function ase_q(){if(typeof XMLHttpRequest!='undefined')return new XMLHttpRequest();/*@cc_on@if(@_jscript_version>=5)try{return new ActiveXObject("Msxml2.XMLHTTP");}catch(e){}try{return new ActiveXObject("Microsoft.XMLHTTP");}catch(e){}@end@*/}function ase_r(lf,l31,l41){var r=ase_q();if(r){r.onreadystatechange=function(){if(r.readyState==4){var status=-9999;eval("try { status = r.status; } catch(e) {}");if(status==-9999)return;if((r.status==200)||(r.status==304))l31(r.responseText);else if(l41)l41(r.status,r.responseText);window.setTimeout(function(){r.onreadystatechange=function(){};r.abort();},1);}}if((lf.length<1000)||(ase_4&&!r.setRequestHeader)){r.open('GET',lf,true);r.send(null);}else {r.open('POST',ase_k(lf,"?"),true);r.setRequestHeader("Content-Type","application/x-www-form-urlencoded");r.send(ase_l(lf,"?"));}return r;}return ase_p(lf,l31,l41);}function _jcv(v){this.lr=v.id;v.lc2=v.useMap;this.lp1=v.style.cursor;this.lr1(v);this.lo={};var l91=v.id+"_JsChartViewerState";this.lu1=ase_8(l91);if(!this.lu1){var p=v.parentNode||v.parentElement;if(p&&p.insertBefore){var s=this.lu1=document.createElement("HIDDEN");s.id=s.name=l91;s.value=this.la1();p.insertBefore(s,v);}else if(v.insertAdjacentHTML){v.insertAdjacentHTML("AfterEnd","<HIDDEN id='"+l91+"' name='"+l91+"'>");this.lu1=ase_8(l91);if(this.lu1)this.lu1.value=this.la1();else this.lu1={"name":l91,"id":l91,"value":this.la1()};}}else this.decodeState(this.lu1.value);this.ls1();if(!ase_5)this.l11(this.lw1());if(this.ln)this.partialUpdate();}_jcvp=_jcv.prototype;_jcv.l22=function(lc1){var ld1=window.cdjcv_path;if(typeof ld1=="undefined")ld1=ase_i("cdjcv.js");else if((ld1.length>0)&&("/=".indexOf(ld1.charAt(ld1.length-1))==-1))ld1+='/';return ld1+lc1;}_jcv.Horizontal=0;_jcv.Vertical=1;_jcv.HorizontalVertical=2;_jcv.Default=0;_jcv.Scroll=2;_jcv.ZoomIn=3;_jcv.ZoomOut=4;_jcv.msgContainer='<div style="font-family:Verdana;font-size:8pt;font-weight:bold;padding:3 8 3 8;border:1pt solid #000000;background-color:#FFCCCC;color:#000000">%msg</div>';_jcv.okButton='<center>[<a href="javascript:%closeScript"> OK </a>]</center>';_jcv.xButton='[<a href="javascript:%closeScript"> X </a>]';_jcv.shortErrorMsg='Error %errCode accessing server'+_jcv.okButton;_jcv.serverErrorMsg=_jcv.xButton+'<div style="font-family:Arial; font-weight:bold; font-size:15pt;">Error %errCode accessing server</div><hr>%errMsg';_jcv.updatingMsg='<div style="padding:0 8 0 6;background-color:#FFFFCC;color:#000000;border:1px solid #000000"><table><tr><td><img src="'+_jcv.l22('wait.gif')+'"></td><td style="font-size:8pt;font-weight:bold;font-family:Verdana">Updating</td></tr></table></div>';_jcv.lj1=new Array("l0","l1","l2","l3","l4","l5","l6","l7","l8","l9","la","lb","lc","ld","le","lf","lg","lh","li","lj","lk","ll","lm","ln","lo","lp","lq");_jcv.get=function(id){var imgObj=ase_8(id);if(!imgObj)return null;if(!imgObj._jcv)imgObj._jcv=new _jcv(imgObj);return imgObj._jcv;}_jcvp.getId=function(){return this.lr;}_jcvp.lt1=function(){return ase_8(this.lr);}_jcvp.lr1=function(){this.lt1().ly=function(e,id){var lf1;if(!this._jcv.lm1)lf1=this._jcv["onImg"+id](e);if(this["_jcvOn"+id+"Chain"])lf1=this["_jcvOn"+id+"Chain"](e);return lf1;};this.lt1()._jcvOnMouseMoveChain=this.lt1().onmousemove;this.lt1()._jcvOnMouseUpChain=this.lt1().onmouseup;this.lt1()._jcvOnMouseDownChain=this.lt1().onmousedown;var lg1=this.lr;this.lt1().onmousemove=function(e){return ase_8(lg1).ly(e,"MouseMove");}this.lt1().onmousedown=function(e){return ase_8(lg1).ly(e,"MouseDown");}this.lt1().onmouseup=function(e){return ase_8(lg1).ly(e,"MouseUp");}}_jcvp.lq2=function(x){return x-ase_e(this.lt1());}_jcvp.lr2=function(y){return y-ase_f(this.lt1());}_jcvp.lp2=function(w){return w;}_jcvp.lo2=function(h){return h;}_jcvp.lm2=function(x){return x+ase_e(this.lt1());}_jcvp.ln2=function(y){return y+ase_f(this.lt1());}_jcvp.ll2=function(w){return w;}_jcvp.lk2=function(h){return h;}_jcvp.setCustomAttr=function(k,v){this.lo[k]=v;this.le2();}_jcvp.getCustomAttr=function(k){return this.lo[k];}_jcvp.l4=0;_jcvp.l5=0;_jcvp.l6=1;_jcvp.l7=1;_jcvp.setViewPortLeft=function(x){this.l4=x;this.le2();}_jcvp.getViewPortLeft=function(){return this.l4;}_jcvp.setViewPortTop=function(y){this.l5=y;this.le2();}_jcvp.getViewPortTop=function(){return this.l5;}_jcvp.setViewPortWidth=function(w){this.l6=w;this.le2();}_jcvp.getViewPortWidth=function(){return this.l6;}_jcvp.setViewPortHeight=function(h){this.l7=h;this.le2();}_jcvp.getViewPortHeight=function(){return this.l7;}_jcvp.l0=-1;_jcvp.l1=-1;_jcvp.l2=-1;_jcvp.l3=-1;_jcvp.l01=function(x,y){x=this.lq2(x);y=this.lr2(y);return(this.l0<=x)&&(x<=this.l0+this.l2)&&(this.l1<=y)&&(y<=this.l1+this.l3);}_jcvp.msgBox=function(lm1,ln1){var m=this.l21;if(!m&&lm1){var d=document;if(d.body.insertAdjacentHTML){var lq1='msg_'+this.lr;d.body.insertAdjacentHTML("BeforeEnd","<DIV ID='"+lq1+"' style='position:absolute;visibility:hidden;'></DIV>");m=ase_8(lq1);}else if(d.createElement){m=d.createElement("DIV");m.style.position='absolute';m.style.visibility='hidden';d.body.appendChild(m);}if(m)this.l21=m;}if(m){window.clearTimeout(m.l31);var s=m.style;if(lm1){if(ln1)m.l31=window.setTimeout(function(){s.visibility='hidden';},Math.abs(ln1));if(ln1<0)lm1+=_jcv.okButton;if(lm1.substring(0,4).toLowerCase()!="<div")lm1=ase_h(_jcv.msgContainer,'%msg',lm1);var lr1="_jcv.get('"+this.lr+"').msgBox();";m.innerHTML=ase_h(lm1,'%closeScript',lr1);s.visibility='visible';s.left=this.lm2(Math.max(0,this.l0+(this.l2-m.offsetWidth)/2));s.top=this.ln2(Math.max(0,this.l1+(this.l3-m.offsetHeight)/2));}else {s.visibility='hidden';}}}_jcvp.l8=2;_jcvp.l9="#000000";_jcvp.setSelectionBorderWidth=function(w){this.l8=w;this.le2();}_jcvp.getSelectionBorderWidth=function(){return this.l8;}_jcvp.setSelectionBorderColor=function(c){this.l9=c;this.le2();}_jcvp.getSelectionBorderColor=function(){return this.l9;}_jcvp.lq1=function(){_jcv.l92=this.l62("_jcv_leftLine");_jcv.la2=this.l62("_jcv_rightLine");_jcv.l72=this.l62("_jcv_topLine");_jcv.l82=this.l62("_jcv_bottomLine");}function _jcvp_false_function(){return false;}_jcvp.l62=function(id){var d=document;if(d.body.insertAdjacentHTML){d.body.insertAdjacentHTML("BeforeEnd","<DIV ID='"+id+"' style='position:absolute;visibility:hidden;background-color:#000000;width:1px;height:1px;'><IMG WIDTH='1' HEIGHT='1'></DIV>");var lf1=ase_8(id);if(ase_5&&(ase_7()<5.5))lf1.onmousemove=_jcvp_false_function;return lf1;}else if(d.createElement){var lf1=d.createElement("DIV");var s=lf1.style;s.position="absolute";s.visibility="hidden";s.backgroundColor="#000000";s.width="1px";s.height="1px";d.body.appendChild(lf1);return lf1;}}_jcvp.lk1=function(x,y,lt1,lu1){if(!_jcv.l92)this.lq1();if(!_jcv.l92)return;var lv1=_jcv.l92.style;var lw1=_jcv.la2.style;var lx1=_jcv.l72.style;var ly1=_jcv.l82.style;lv1.left=lx1.left=ly1.left=x;lv1.top=lw1.top=lx1.top=y;lx1.width=ly1.width=lt1;ly1.top=y+lu1-this.l8+1;lv1.height=lw1.height=lu1;lw1.left=x+lt1-this.l8+1;lv1.width=lw1.width=lx1.height=ly1.height=this.l8;lv1.backgroundColor=lw1.backgroundColor=lx1.backgroundColor=ly1.backgroundColor=this.l9;}_jcvp.ll1=function(b){if(b&&!_jcv.l72)this.lq1();if(ase_5&&_jcv.l72&&(ase_7()<5.5)){_jcv.l92.onmouseup=_jcv.la2.onmouseup=_jcv.l72.onmouseup=_jcv.l82.onmouseup=this.lt1().onmouseup;}if(_jcv.l72)_jcv.l92.style.visibility=_jcv.la2.style.visibility=_jcv.l72.style.visibility=_jcv.l82.style.visibility=b?"visible":"hidden";}_jcvp.la=_jcv.Default;_jcvp.lb=_jcv.Horizontal;_jcvp.lc=_jcv.Horizontal;_jcvp.ld=2;_jcvp.le=0.5;_jcvp.lf=0.01;_jcvp.lg=1;_jcvp.lh=0.01;_jcvp.li=1;_jcvp.getMouseUsage=function(){return this.la;}_jcvp.setMouseUsage=function(l02){this.la=l02;this.lf2();this.le2();}_jcvp.lf2=function(){var a=this.lb2;if(a){switch(this.la){case _jcv.ZoomIn:a.href="javascript://ZoomIn";break;case _jcv.ZoomOut:a.href="javascript://ZoomOut";break;default:a.removeAttribute("href");}}}_jcvp.getScrollDirection=function(){return this.lb;}_jcvp.setScrollDirection=function(l22){this.lb=l22;this.le2();}_jcvp.getZoomDirection=function(){return this.lc;}_jcvp.setZoomDirection=function(l22){this.lc=l22;this.le2();}_jcvp.getZoomInRatio=function(){return this.ld;}_jcvp.setZoomInRatio=function(l32){if(l32>0)this.ld=l32;this.le2();}_jcvp.getZoomOutRatio=function(){return this.le;}_jcvp.setZoomOutRatio=function(l32){if(l32>0)this.le=l32;this.le2();}_jcvp.getZoomInWidthLimit=function(){return this.lf;}_jcvp.setZoomInWidthLimit=function(l32){this.lf=l32;this.le2();}_jcvp.getZoomOutWidthLimit=function(){return this.lg;}_jcvp.setZoomOutWidthLimit=function(l32){this.lg=l32;this.le2();}_jcvp.getZoomInHeightLimit=function(){return this.lh;}_jcvp.setZoomInHeightLimit=function(l32){this.lh=l32;this.le2();}_jcvp.getZoomOutHeightLimit=function(){return this.li;}_jcvp.setZoomOutHeightLimit=function(l32){this.li=l32;this.le2();}

⌨️ 快捷键说明

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