Lines Matching refs:selected
164 if (selected) {
165 selected.classList.remove('s');
206 let selected; variable
208 if (!selected) {
212 let nav = selected.attributes['nav'].value.split(',');
227 case 32: zoom(selected); return false; // SPACE
230 unzoom(selected); return false;
238 let target_element = selected.ownerSVGElement.getElementById(nav[navigation_index]);
244 if (selected) {
245 selected.classList.remove('s');
247 selected = e;
248 selected.classList.add('s');
251 let titleElement = selected.getElementsByTagName('title')[0];
266 let percentageTextElement = selected.ownerSVGElement.getElementById('percent_text');
272 let barTextElement = selected.ownerSVGElement.getElementById('info_text');