/[omni_gantt]/1k.js
This is repository of my old source code which isn't updated any more. Go to git.rot13.org for current projects!
ViewVC logotype

Contents of /1k.js

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.1 - (show annotations)
Fri Sep 13 11:17:20 2002 UTC (21 years, 7 months ago) by dpavlin
Branch: MAIN
CVS Tags: HEAD
File MIME type: application/javascript
tools tips, lot of changes

1 // 1k DHTML API
2 d=document;l=(d.layers)?1:0;op=navigator.userAgent.toLowerCase().indexOf('opera')!=-1;
3 function gE(e,f){if(l){f=(f)?f:self;var V=f.document.layers;if(V[e])return V[e];for(var W=0;W<V.length;)t=gE(e,V[W++]);return t;}if(d.all)return d.all[e];return d.getElementById(e);}
4 function sE(e){if(l)e.visibility='show';else e.style.visibility='visible';}
5 function hE(e){if(l)e.visibility='hide';else e.style.visibility='hidden';}
6 function sZ(e,z){if(l)e.zIndex=z;else e.style.zIndex=z;}
7 function sX(e,x){if(l)e.left=x;else if(op)e.style.pixelLeft=x;else e.style.left=x;}
8 function sY(e,y){if(l)e.top=y;else if(op)e.style.pixelTop=y;else e.style.top=y;}
9 function sW(e,w){if(l)e.clip.width=w;else if(op)e.style.pixelWidth=w;else e.style.width=w;}
10 function sH(e,h){if(l)e.clip.height=h;else if(op)e.style.pixelHeight=h;else e.style.height=h;}
11 function sC(e,t,r,b,x){if(l){X=e.clip;X.top=t;X.right=r;X.bottom=b;X.left=x;}else e.style.clip='rect('+t+' '+r+' '+b+' '+x+')';}
12 function wH(e,h){if(l){Y=e.document;Y.write(h);Y.close();}if(e.innerHTML)e.innerHTML=h;}

  ViewVC Help
Powered by ViewVC 1.1.26