Lines Matching refs:i

8 	for(var i=0; i<items.length; i++) {
9 if(!items[i].getAttribute('ref') || !items[i].className.match(/animal_(dir|file)/)) continue;
11 items[i].container = d;
13 items[i].open = function() {
18 for(var i=0; i<d.length; i++) {
19 …if(!d[i].getAttribute('ref') || !d[i].getAttribute('pref') || !d[i].className.match(/animal_(dir|f…
20 if(d[i].getAttribute('ref') == this.getAttribute('pref') && d[i].container) {
21 d[i].open();
27 items[i].clearPath = function() {
33 var i = 0;
38 enc1 = keyStr.indexOf(input.charAt(i++));
39 enc2 = keyStr.indexOf(input.charAt(i++));
40 enc3 = keyStr.indexOf(input.charAt(i++));
41 enc4 = keyStr.indexOf(input.charAt(i++));
50 } while (i < input.length);
54 if(d.getAttribute('openned') == items[i].getAttribute('ref')) o = items[i];
56 if(!items[i].className.match(/animal_dir/)) continue;
58 items[i].openned = true;
59 items[i].toggle = function() {
68 items[i].onclick = items[i].toggle;
70 items[i].open = function() {
74 for(var i=0; i<d.length; i++) {
75 if(!d[i].getAttribute('ref') || !d[i].className.match(/animal_(dir|file)/)) continue;
76 if(d[i].getAttribute('ref') == this.getAttribute('pref') && d[i].container) d[i].open();
77 if(d[i].getAttribute('pref') == this.getAttribute('ref')) d[i].style.display = 'block';
81 items[i].close = function() {
85 for(var i=0; i<d.length; i++) {
86 …if(!d[i].getAttribute('ref') || !d[i].getAttribute('pref') || !d[i].className.match(/animal_(dir|f…
87 if(d[i].getAttribute('pref') == this.getAttribute('ref')) {
88 if(d[i].className.match(/animal_dir/)) d[i].close();
89 d[i].style.display = 'none';
95 for(var i=0; i<items.length; i++) {
96 if(!items[i].getAttribute('ref') || !items[i].className.match(/animal_dir/)) continue;
97 if(items[i].getAttribute('pref') == '') items[i].close();
111 for(var i=0; i<d.length; i++) {
112 if(!d[i].className.match(/animal_hud/)) continue;
113 var ph = d[i].parentNode.offsetHeight;
114 d[i].style.height = ph + 'px';