PageSourceSearch

https://tng.adler-wien.eu/js/tngmenuhover2.js

js adler-wien.eu collected 2026-10-02 19:34:46 UTC 1,418 bytes, 34 lines download raw bytes

1var tngdd=function(){
2	var t=1,z=50,a;
3	var s = navigator.appName.indexOf("Internet Explorer") != -1 && navigator.appVersion.indexOf("8") != -1 ? 1.2 : 3;
4	function dd(n){this.n=n; this.h=[]; this.c=[]}
5	dd.prototype.init=function(p,c){
6		a=c; var w=document.getElementById(p), s=w.getElementsByTagName('ul'), l=s.length, i=0;
7		for(i;i<l;i++){
8			var h=s[i].parentNode; this.h[i]=h; this.c[i]=s[i];
9			h.onmouseover=new Function(this.n+'.st('+i+',true)');
10			h.onmouseout=new Function(this.n+'.st('+i+')');
11		}
12	}
13	dd.prototype.st=function(x,f){
14		var c=this.c[x], h=this.h[x], p=h.getElementsByTagName('a')[0];
15		clearInterval(c.t); c.style.overflow='hidden';
16		if(f){
17			p.className+=' '+a;
18			if(!c.mh){c.style.display='block'; c.style.height=''; c.mh=c.offsetHeight; c.style.height=0}
19			if(c.mh==c.offsetHeight){c.style.overflow='visible'}
20			else{c.style.zIndex=z; z++; c.t=setInterval(function(){sl(c,1)},t)}
21		}else{p.className=p.className.replace(' '+a,''); c.t=setInterval(function(){sl(c,-1)},t)}
22	}
23	function sl(c,f){
24		var h=c.offsetHeight;
25		if((h<=0&&f!=1)||(h>=c.mh&&f==1)){
26			if(f==1){c.style.filter=''; c.style.opacity=1; c.style.overflow='visible'}
27			clearInterval(c.t); return
28		}
29		var d=(f==1)?Math.ceil((c.mh-h)/s):Math.ceil(h/s), o=h/c.mh;
30		c.style.opacity=o; c.style.filter='alpha(opacity='+(o*100)+')';
31		c.style.height=h+(d*f)+'px'
32	}
33	return{dd:dd}
34}();

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.