# HG changeset patch # User hertzhaft # Date 1300392414 -3600 # Node ID 82e82774e0d7936adee92cba90e1db6892c66adc # Parent ca6b8c970ea16f7fecd235de269243153b7a8ace testing with jQuery 1.5.1, porting my offset bugfix diff -r ca6b8c970ea1 -r 82e82774e0d7 client/digitallibrary/jquery/jquery-1.5.1.js --- a/client/digitallibrary/jquery/jquery-1.5.1.js Thu Mar 17 20:25:56 2011 +0100 +++ b/client/digitallibrary/jquery/jquery-1.5.1.js Thu Mar 17 21:06:54 2011 +0100 @@ -8131,8 +8131,8 @@ curPosition = curElem.position(); } - curTop = calculatePosition ? curPosition.top : parseInt( curCSSTop, 10 ) || 0; - curLeft = calculatePosition ? curPosition.left : parseInt( curCSSLeft, 10 ) || 0; + curTop = calculatePosition ? curPosition.top : parseFloat( curCSSTop, 10 ) || 0; + curLeft = calculatePosition ? curPosition.left : parseFloat( curCSSLeft, 10 ) || 0; if ( jQuery.isFunction( options ) ) { options = options.call( elem, i, curOffset ); diff -r ca6b8c970ea1 -r 82e82774e0d7 client/digitallibrary/jquery/jquery-test-embedded.html --- a/client/digitallibrary/jquery/jquery-test-embedded.html Thu Mar 17 20:25:56 2011 +0100 +++ b/client/digitallibrary/jquery/jquery-test-embedded.html Thu Mar 17 21:06:54 2011 +0100 @@ -51,7 +51,7 @@ - + diff -r ca6b8c970ea1 -r 82e82774e0d7 client/digitallibrary/jquery/jquery-test-full.html --- a/client/digitallibrary/jquery/jquery-test-full.html Thu Mar 17 20:25:56 2011 +0100 +++ b/client/digitallibrary/jquery/jquery-test-full.html Thu Mar 17 21:06:54 2011 +0100 @@ -55,7 +55,7 @@ } - +