Mercurial > hg > digilib
diff client/digitallibrary/jquery/jquery-test-full.html @ 647:a2aadf44a454 jquery
zoomarea works now
added rectangle and position constructors that take jQuery and event objects
fixed bug in rectangle.contains
author | robcast |
---|---|
date | Fri, 21 Jan 2011 00:00:08 +0100 |
parents | 3223fabd53bc |
children | e328273b7ef4 |
line wrap: on
line diff
--- a/client/digitallibrary/jquery/jquery-test-full.html Thu Jan 20 20:21:11 2011 +0100 +++ b/client/digitallibrary/jquery/jquery-test-full.html Fri Jan 21 00:00:08 2011 +0100 @@ -26,6 +26,27 @@ background-image: url('../greyskin/corona.png'); } + div.digilib div.mark { + position: absolute; + color: white; + background: url('../greyskin/mark-bg-16.png'); + font-family: Verdana, Arial, Helvetica, sans-serif; + font-weight: bold; + font-size:11px; + height: 15px; + width: 16px; + padding-top: 1px; + text-align: center; + z-index: 10; + } + + div.digilib div.zoomrect { + position: absolute; + /* border: 2px solid #ffa060; */ + border: 2px solid #ff0000; + z-index: 200; + } + div.birdview { border: 1px solid white; position: fixed; @@ -60,13 +81,14 @@ <script type="text/javascript"> $(document).ready(function(){ var opts = {interactionMode : 'fullscreen', - scalerBaseUrl : 'http://digilib.biblhertz.it/digilib04/servlet/Scaler'}; + scalerBaseUrl : 'http://localhost:18080/digitallibrary/servlet/Scaler'}; $('div.digilib').digilib(opts); - $('div.digilib').each(function(){ + /* $('div.digilib').each(function(){ console.log($(this).data('digilib').settings); }); $('div.digilib').digilib('showAboutDiv', 1); + */ }); </script>