PageSourceSearch

https://www.newrivernotes.com/wp-content/themes/themify-ultra-child/js/tiny_script.js?ver=7.0.2

js newrivernotes.com collected 2026-10-02 12:25:41 UTC 1,417 bytes, 38 lines download raw bytes

1// JavaScript Document
2
3var TINY={};
4
5function T$(z){return document.getElementById(z)}
6function T$$(e,p){return p.getElementsByTagName(e)}
7
8TINY.accordion=function(){
9	function slider(n){this.n=n; this.a=[]}
10	slider.prototype.init=function(t,e,m,o,k){
11		var a=T$(t), z=s=0, n=a.childNodes, l=n.length; this.s=k||0; this.m=m||0;
12		for(z;z<l;z++){
13			var v=n[z];
14			if(v.nodeType!=3){
15				this.a[s]={}; this.a[s].h=h=T$$(e,v)[0]; this.a[s].c=c=T$$('div',v)[0]; h.onclick=new Function(this.n+'.pr(0,'+s+')');
16				if(o==s){h.className=this.s; c.style.height='auto'; c.d=1}else{c.style.height=0; c.d=-1} s++;
17			}
18		}
19		this.l=s
20	};
21	slider.prototype.pr=function(f,d){
22		for(var z=0;z<this.l;z++){
23			var h=this.a[z].h, c=this.a[z].c, k=c.style.height; k=k=='auto'?1:parseInt(k); clearInterval(c.t);
24			if((k!=1&&c.d==-1)&&(f==1||z==d)){
25				c.style.height=''; c.m=c.offsetHeight; c.style.height=k+'px'; c.d=1; h.className=this.s; su(c,1)
26			}else if(k>0&&(f==-1||this.m||z==d)){
27				c.d=-1; h.className=''; su(c,-1)
28			}
29		}
30	};
31	function su(c){c.t=setInterval(function(){sl(c)},20)}
32	function sl(c){
33		var h=c.offsetHeight, d=c.d==1?c.m-h:h; c.style.height=h+(Math.ceil(d/1)*c.d)+'px';
34		c.style.opacity=h/c.m; c.style.filter='alpha(opacity='+h*100/c.m+')';
35		if((c.d==1&&h>=c.m)||(c.d!=1&&h==1)){if(c.d==1){c.style.height='auto'} clearInterval(c.t)}
36	}
37	return{slider:slider};
38}();

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.