Mercurial > hg > digilib-old
comparison client/digitallibrary/jquery/jquery.js @ 885:f60fe47ecdd4 stream
ported fixes
author | robcast |
---|---|
date | Tue, 22 Mar 2011 17:21:18 +0100 |
parents | b9f6e6e1e850 |
children |
comparison
equal
deleted
inserted
replaced
883:40ee7247da17 | 885:f60fe47ecdd4 |
---|---|
8129 // need to be able to calculate position if either top or left is auto and position is absolute | 8129 // need to be able to calculate position if either top or left is auto and position is absolute |
8130 if ( calculatePosition ) { | 8130 if ( calculatePosition ) { |
8131 curPosition = curElem.position(); | 8131 curPosition = curElem.position(); |
8132 } | 8132 } |
8133 | 8133 |
8134 curTop = calculatePosition ? curPosition.top : parseInt( curCSSTop, 10 ) || 0; | 8134 curTop = calculatePosition ? curPosition.top : parseFloat( curCSSTop, 10 ) || 0; |
8135 curLeft = calculatePosition ? curPosition.left : parseInt( curCSSLeft, 10 ) || 0; | 8135 curLeft = calculatePosition ? curPosition.left : parseFloat( curCSSLeft, 10 ) || 0; |
8136 | 8136 |
8137 if ( jQuery.isFunction( options ) ) { | 8137 if ( jQuery.isFunction( options ) ) { |
8138 options = options.call( elem, i, curOffset ); | 8138 options = options.call( elem, i, curOffset ); |
8139 } | 8139 } |
8140 | 8140 |