changeset 718:d6d486fe44c2 jquery

improved embedded icons; page fwd/back scaler problem solved partially
author hertzhaft
date Sun, 30 Jan 2011 22:06:45 +0100
parents b3cd640b4b71
children 3da6db751448
files client/digitallibrary/jquery/img/embedded/16/back.png client/digitallibrary/jquery/img/embedded/16/brightness.png client/digitallibrary/jquery/img/embedded/16/contrast.png client/digitallibrary/jquery/img/embedded/16/fwd.png client/digitallibrary/jquery/img/embedded/16/page.png client/digitallibrary/jquery/img/embedded/16/pagewidth.png client/digitallibrary/jquery/img/embedded/16/quality.png client/digitallibrary/jquery/img/embedded/32/back.png client/digitallibrary/jquery/img/embedded/32/brightness.png client/digitallibrary/jquery/img/embedded/32/contrast.png client/digitallibrary/jquery/img/embedded/32/fwd.png client/digitallibrary/jquery/img/embedded/32/page.png client/digitallibrary/jquery/img/embedded/32/pagewidth.png client/digitallibrary/jquery/img/embedded/32/quality.png client/digitallibrary/jquery/jquery.digilib.js
diffstat 15 files changed, 4 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
Binary file client/digitallibrary/jquery/img/embedded/16/back.png has changed
Binary file client/digitallibrary/jquery/img/embedded/16/brightness.png has changed
Binary file client/digitallibrary/jquery/img/embedded/16/contrast.png has changed
Binary file client/digitallibrary/jquery/img/embedded/16/fwd.png has changed
Binary file client/digitallibrary/jquery/img/embedded/16/page.png has changed
Binary file client/digitallibrary/jquery/img/embedded/16/pagewidth.png has changed
Binary file client/digitallibrary/jquery/img/embedded/16/quality.png has changed
Binary file client/digitallibrary/jquery/img/embedded/32/back.png has changed
Binary file client/digitallibrary/jquery/img/embedded/32/brightness.png has changed
Binary file client/digitallibrary/jquery/img/embedded/32/contrast.png has changed
Binary file client/digitallibrary/jquery/img/embedded/32/fwd.png has changed
Binary file client/digitallibrary/jquery/img/embedded/32/page.png has changed
Binary file client/digitallibrary/jquery/img/embedded/32/pagewidth.png has changed
Binary file client/digitallibrary/jquery/img/embedded/32/quality.png has changed
--- a/client/digitallibrary/jquery/jquery.digilib.js	Sun Jan 30 21:20:23 2011 +0100
+++ b/client/digitallibrary/jquery/jquery.digilib.js	Sun Jan 30 22:06:45 2011 +0100
@@ -362,6 +362,7 @@
                     }
                 }
             // reset mk and others(?)
+            // TODO: adjust bird div
             data.marks = [];
             data.zoomArea = MAX_ZOOMAREA;
             // then reload
@@ -781,6 +782,9 @@
             // embedded mode -- just change img src
             var url = getScalerUrl(data);
             data.$img.attr('src', url);
+            // set scaler div size explicitly in case $img is hidden (for zoomDrag)
+            $imgRect = geom.rectangle(data.$img);
+            $imgRect.adjustDiv(data.$scaler); 
             }
     };