comparison client/digitallibrary/jquery/jquery.js @ 875:4abb53002198 jquery

make digilib.html use new jquery. sync jquery-1.5.1.js and jquery.js.
author robcast
date Tue, 22 Mar 2011 12:31:41 +0100
parents 64bc340bea45
children
comparison
equal deleted inserted replaced
874:f4ea9703008f 875:4abb53002198
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