# HG changeset patch # User hertzhaft # Date 1300392414 -3600 # Node ID f4ea9703008fcde856c479b02a733bfdc43a52d8 # Parent 99a0c078d37891ccebf5c52fca6506d61f66e2a6 testing with jQuery 1.5.1, porting my offset bugfix diff -r 99a0c078d378 -r f4ea9703008f 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 99a0c078d378 -r f4ea9703008f 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 99a0c078d378 -r f4ea9703008f 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 @@ } - +