Lines Matching refs:el

27 function getParent (el, cp, vl) {  argument
28 if (el == null) return null;
29 else if (el.nodeType == 1 &&
30 ((!isUndefined(vl) && el[cp] == vl) ||
31 ('string' == typeof cp && el.tagName.toLowerCase() == cp.toLowerCase()) ||
32 el == cp)) return el;
33 else return getParent(el.parentNode, cp, vl);
49 var L, i, k, el = document.createElement(tag);
50 if (!el) return false;
54 case "class" : el.setAttribute('className',p[i]); el.setAttribute('class',p[i]); break;
55 …case "style" : for (k in p[i]) { if (!p[i].hasOwnProperty(k)) continue; el.style[k] = p[i][k]; } b…
56 …case "event" : for (k in p[i]) { if (!p[i].hasOwnProperty(k)) continue; el.attachEvent(k,p[i][k]);…
57 case "child" : L = p[i].length; for (k = 0; k<L; k++) el.appendChild(p[i][k]); break;
58 …case "param" : for (k in p[i]) { if (!p[i].hasOwnProperty(k)) continue; try { el[k] = p[i][k] } ca…
61 return el;
125 var el = o; // "el" will be nodes as we walk up, "o" will be saved for offsetParent references
126 while (el.parentNode!=null) {
127 el = el.parentNode;
128 if (el.offsetParent==null) {
139 if (el==originalObject.parentNode || el.nodeName=="TR") {
144 if (el.scrollTop && el.scrollTop>0) {
145 top -= el.scrollTop;
147 if (el.scrollLeft && el.scrollLeft>0) {
148 left -= el.scrollLeft;
153 if (el == offsetParent) {
155 if (el.clientLeft && el.nodeName!="TABLE") {
156 left += el.clientLeft;
159 if (el.clientTop && el.nodeName!="TABLE") {
160 top += el.clientTop;
162 o = el;
233 var el = getParent(e.srcElement || e.target, 'a');
259 if (el == curA || (ctrl && curA)) return;
265 || (el != null // element exists
266 && el.className.indexOf('urlextern')<0 // is not an external link
267 && el.className.indexOf('toc')<0 // is not a toc item
268 && !String(el).match(/\.php$/) // is not a script
269 && String(el).indexOf(document.location.protocol+"//"
272 || String(el).indexOf(document.location.protocol+"//"
275 && !String(el).match(/[?&]do=/) // is not the action url
278 var c = getPos(ctrl?curA:el);
279 dotQuestion.style.left = c.left+(ctrl?curA:el).offsetWidth+'px';
285 if (el != curA && curA) domTT_deactivate(tooltips[curA.href]);
290 if (!ctrl) curA = el;