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
5956 top: function(context, element){
6584 var values = (property == 'width') ? ['left', 'right'] : ['top', 'bottom'], size = 0;
6612 left: '@px', top: '@px', bottom: '@px', right: '@px',
6623 ['Top', 'Right', 'Bottom', 'Left'].each(function(direction){
6707 y: bound.top + ((isFixed) ? 0 : html.scrollTop) - html.clientTop
6753 var obj = {left: position.x, top: position.y, width: size.x, height: size.y};
6755 obj.bottom = obj.top + obj.height;
6760 return {left: obj.x - styleNumber(this, 'margin-left'), top: obj.y - styleNumber(this, 'margin-top')};
6796 return {top: 0, left: 0, bottom: size.y, right: size.x, height: size.y, width: size.x};
6814 return styleNumber(element, 'border-top-width');
10036 if (position == 'top' || position == 'after') childNodes.reverse();
10350 // element is position relative but top and left have not been defined
10352 element.style.top = 0;
10364 element.style.top =
10420 var top = offsets[1];
10426 element._originalTop = top - parseFloat(element.style.top || 0);
10431 element.style.top = top + 'px';
10444 var top = parseFloat(element.style.top || 0) - (element._originalTop || 0);
10447 element.style.top = top + 'px';
10533 if (options.setTop) element.style.top = (p[1] - delta[1] + options.offsetTop) + 'px';
10561 case 'left': case 'top': case 'right': case 'bottom':
10576 properties = ['border-top-width', 'padding-top',
10875 result.top = t;
10892 top: function(element, node) {
12525 Top: function(element, content) {
12526 return Element.insert(element, {top:content});