Mercurial > hg > digilib
comparison 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 |
comparison
equal
deleted
inserted
replaced
646:f18fac852d93 | 647:a2aadf44a454 |
---|---|
24 | 24 |
25 img.button:hover { | 25 img.button:hover { |
26 background-image: url('../greyskin/corona.png'); | 26 background-image: url('../greyskin/corona.png'); |
27 } | 27 } |
28 | 28 |
29 div.digilib div.mark { | |
30 position: absolute; | |
31 color: white; | |
32 background: url('../greyskin/mark-bg-16.png'); | |
33 font-family: Verdana, Arial, Helvetica, sans-serif; | |
34 font-weight: bold; | |
35 font-size:11px; | |
36 height: 15px; | |
37 width: 16px; | |
38 padding-top: 1px; | |
39 text-align: center; | |
40 z-index: 10; | |
41 } | |
42 | |
43 div.digilib div.zoomrect { | |
44 position: absolute; | |
45 /* border: 2px solid #ffa060; */ | |
46 border: 2px solid #ff0000; | |
47 z-index: 200; | |
48 } | |
49 | |
29 div.birdview { | 50 div.birdview { |
30 border: 1px solid white; | 51 border: 1px solid white; |
31 position: fixed; | 52 position: fixed; |
32 bottom: 8px; | 53 bottom: 8px; |
33 right: 48px; | 54 right: 48px; |
58 | 79 |
59 | 80 |
60 <script type="text/javascript"> | 81 <script type="text/javascript"> |
61 $(document).ready(function(){ | 82 $(document).ready(function(){ |
62 var opts = {interactionMode : 'fullscreen', | 83 var opts = {interactionMode : 'fullscreen', |
63 scalerBaseUrl : 'http://digilib.biblhertz.it/digilib04/servlet/Scaler'}; | 84 scalerBaseUrl : 'http://localhost:18080/digitallibrary/servlet/Scaler'}; |
64 $('div.digilib').digilib(opts); | 85 $('div.digilib').digilib(opts); |
65 | 86 |
66 $('div.digilib').each(function(){ | 87 /* $('div.digilib').each(function(){ |
67 console.log($(this).data('digilib').settings); | 88 console.log($(this).data('digilib').settings); |
68 }); | 89 }); |
69 $('div.digilib').digilib('showAboutDiv', 1); | 90 $('div.digilib').digilib('showAboutDiv', 1); |
91 */ | |
70 }); | 92 }); |
71 | 93 |
72 </script> | 94 </script> |
73 </head> | 95 </head> |
74 | 96 |