Lines Matching refs:Top
752 var val, props = { position: "absolute", visibility: "hidden", display:"block" }, which = name == "width" ? [ "Left", "Right" ] : [ "Top", "Bottom" ];
3072 if ( document.documentElement.doScroll && window == window.top ) (function(){
4174 if ( !this[0] ) return { top: 0, left: 0 };
4178 top = box.top + (self.pageYOffset || jQuery.boxModel && docElem.scrollTop || body.scrollTop ) - clientTop,
4180 return { top: top, left: left };
4184 if ( !this[0] ) return { top: 0, left: 0 };
4192 top = elem.offsetTop, left = elem.offsetLeft;
4196 top -= elem.scrollTop, left -= elem.scrollLeft;
4198 top += elem.offsetTop, left += elem.offsetLeft;
4200 top += parseInt( computedStyle.borderTopWidth, 10) || 0,
4205 top += parseInt( computedStyle.borderTopWidth, 10) || 0,
4211 top += body.offsetTop,
4215 top += Math.max(docElem.scrollTop, body.scrollTop),
4218 return { top: top, left: left };
4225 html = '<div style="position:absolute;top:0;left:0;margin:0;border:5px solid #000;padding:0;width:1px;height:1px;"><div></div></div><table style="position:absolute;top:0;left:0;margin:0;border:5px solid #000;padding:0;width:1px;height:1px;" cellpadding="0" cellspacing="0"><tr><td></td></tr></table>';
4227 rules = { position: 'absolute', top: 0, left: 0, margin: 0, border: 0, width: '1px', height: '1px', visibility: 'hidden' };
4250 var top = body.offsetTop, left = body.offsetLeft;
4252 top += parseInt( jQuery.curCSS(body, 'marginTop', true), 10 ) || 0,
4254 return { top: top, left: left };
4261 var left = 0, top = 0, results;
4269 parentOffset = /^body|html$/i.test(offsetParent[0].tagName) ? { top: 0, left: 0 } : offsetParent.offset();
4274 offset.top -= num( this, 'marginTop' );
4278 parentOffset.top += num( offsetParent, 'borderTopWidth' );
4283 top: offset.top - parentOffset.top,
4301 jQuery.each( ['Left', 'Top'], function(i, name) {
4330 var tl = i ? "Left" : "Top", // top or left