changeset 882:07926f0b9a1a 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 82e82774e0d7
children 80a695f683c7 cb23fe100d7e
files client/digitallibrary/jquery/digilib.html client/digitallibrary/jquery/jquery.js
diffstat 2 files changed, 3 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/client/digitallibrary/jquery/digilib.html	Thu Mar 17 21:06:54 2011 +0100
+++ b/client/digitallibrary/jquery/digilib.html	Tue Mar 22 12:31:41 2011 +0100
@@ -10,13 +10,12 @@
             }
         </style>
 
-        <script type="text/javascript" src="jquery-1.4.4.js"></script>
+        <script type="text/javascript" src="jquery.js"></script>
         <script type="text/javascript" src="jquery.cookie.js"></script>
         <script type="text/javascript" src="jquery.digilib.js"></script>
         <script type="text/javascript" src="jquery.digilib.geometry.js"></script>
         <script type="text/javascript" src="jquery.digilib.birdseye.js"></script>
         <script type="text/javascript" src="jquery.digilib.regions.js"></script>
-<!--        <script type="text/javascript" src="jquery.digilib.pluginstub.js"></script> -->
         <link rel="stylesheet" type="text/css" href="jquery.digilib.css" />
 
 
--- a/client/digitallibrary/jquery/jquery.js	Thu Mar 17 21:06:54 2011 +0100
+++ b/client/digitallibrary/jquery/jquery.js	Tue Mar 22 12:31:41 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 );