annotate client/digitallibrary/jquery/jquery-test-full.html @ 712:823f0050f7eb jquery

'reset' should reset fitwidth/fitheight, too
author hertzhaft
date Sun, 30 Jan 2011 16:38:54 +0100
parents d533bdf0e64e
children c1b1c463bc44
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
607
f5d5cae64828 parameter parsing
hertzhaft
parents:
diff changeset
1 <?xml version="1.0" ?>
f5d5cae64828 parameter parsing
hertzhaft
parents:
diff changeset
2 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
f5d5cae64828 parameter parsing
hertzhaft
parents:
diff changeset
3 <html xmlns="http://www.w3.org/1999/xhtml">
f5d5cae64828 parameter parsing
hertzhaft
parents:
diff changeset
4 <head>
670
11d96bc0ac09 birdview: nice animation for embedded mode, none for fullscreen
hertzhaft
parents: 668
diff changeset
5 <title>Digilib jQuery Test: fullscreen</title>
614
0bd19b6cede4 highlight hovered buttons
hertzhaft
parents: 613
diff changeset
6
607
f5d5cae64828 parameter parsing
hertzhaft
parents:
diff changeset
7 <style type="text/css">
f5d5cae64828 parameter parsing
hertzhaft
parents:
diff changeset
8 body {
f5d5cae64828 parameter parsing
hertzhaft
parents:
diff changeset
9 background: silver;
f5d5cae64828 parameter parsing
hertzhaft
parents:
diff changeset
10 }
614
0bd19b6cede4 highlight hovered buttons
hertzhaft
parents: 613
diff changeset
11
607
f5d5cae64828 parameter parsing
hertzhaft
parents:
diff changeset
12 div.digilib {
f5d5cae64828 parameter parsing
hertzhaft
parents:
diff changeset
13 }
614
0bd19b6cede4 highlight hovered buttons
hertzhaft
parents: 613
diff changeset
14
612
fb94f1b74d59 bind data and actions to buttons
hertzhaft
parents: 609
diff changeset
15 div.buttons {
fb94f1b74d59 bind data and actions to buttons
hertzhaft
parents: 609
diff changeset
16 position: fixed;
fb94f1b74d59 bind data and actions to buttons
hertzhaft
parents: 609
diff changeset
17 right: 5px;
fb94f1b74d59 bind data and actions to buttons
hertzhaft
parents: 609
diff changeset
18 top: 5px;
fb94f1b74d59 bind data and actions to buttons
hertzhaft
parents: 609
diff changeset
19 padding: 3px;
712
823f0050f7eb 'reset' should reset fitwidth/fitheight, too
hertzhaft
parents: 710
diff changeset
20 background-color: transparent;
823f0050f7eb 'reset' should reset fitwidth/fitheight, too
hertzhaft
parents: 710
diff changeset
21 z-index: 20;
614
0bd19b6cede4 highlight hovered buttons
hertzhaft
parents: 613
diff changeset
22 }
612
fb94f1b74d59 bind data and actions to buttons
hertzhaft
parents: 609
diff changeset
23
614
0bd19b6cede4 highlight hovered buttons
hertzhaft
parents: 613
diff changeset
24 img.button:hover {
0bd19b6cede4 highlight hovered buttons
hertzhaft
parents: 613
diff changeset
25 background-image: url('../greyskin/corona.png');
0bd19b6cede4 highlight hovered buttons
hertzhaft
parents: 613
diff changeset
26 }
0bd19b6cede4 highlight hovered buttons
hertzhaft
parents: 613
diff changeset
27
654
b3c05e1568cf zoomarea works now
robcast
parents: 641
diff changeset
28 div.digilib div.mark {
b3c05e1568cf zoomarea works now
robcast
parents: 641
diff changeset
29 position: absolute;
b3c05e1568cf zoomarea works now
robcast
parents: 641
diff changeset
30 color: white;
b3c05e1568cf zoomarea works now
robcast
parents: 641
diff changeset
31 background: url('../greyskin/mark-bg-16.png');
b3c05e1568cf zoomarea works now
robcast
parents: 641
diff changeset
32 font-family: Verdana, Arial, Helvetica, sans-serif;
b3c05e1568cf zoomarea works now
robcast
parents: 641
diff changeset
33 font-weight: bold;
b3c05e1568cf zoomarea works now
robcast
parents: 641
diff changeset
34 font-size:11px;
b3c05e1568cf zoomarea works now
robcast
parents: 641
diff changeset
35 height: 15px;
b3c05e1568cf zoomarea works now
robcast
parents: 641
diff changeset
36 width: 16px;
b3c05e1568cf zoomarea works now
robcast
parents: 641
diff changeset
37 padding-top: 1px;
b3c05e1568cf zoomarea works now
robcast
parents: 641
diff changeset
38 text-align: center;
b3c05e1568cf zoomarea works now
robcast
parents: 641
diff changeset
39 z-index: 10;
b3c05e1568cf zoomarea works now
robcast
parents: 641
diff changeset
40 }
b3c05e1568cf zoomarea works now
robcast
parents: 641
diff changeset
41
b3c05e1568cf zoomarea works now
robcast
parents: 641
diff changeset
42 div.digilib div.zoomrect {
b3c05e1568cf zoomarea works now
robcast
parents: 641
diff changeset
43 position: absolute;
b3c05e1568cf zoomarea works now
robcast
parents: 641
diff changeset
44 /* border: 2px solid #ffa060; */
b3c05e1568cf zoomarea works now
robcast
parents: 641
diff changeset
45 border: 2px solid #ff0000;
712
823f0050f7eb 'reset' should reset fitwidth/fitheight, too
hertzhaft
parents: 710
diff changeset
46 z-index: 100;
654
b3c05e1568cf zoomarea works now
robcast
parents: 641
diff changeset
47 }
668
ad4a2edcbdbc make zoomarea and birdview work in embedded mode
hertzhaft
parents: 660
diff changeset
48
615
ec131e9699a6 setup bird's eye view div
hertzhaft
parents: 614
diff changeset
49 div.birdview {
ec131e9699a6 setup bird's eye view div
hertzhaft
parents: 614
diff changeset
50 border: 1px solid white;
ec131e9699a6 setup bird's eye view div
hertzhaft
parents: 614
diff changeset
51 position: fixed;
ec131e9699a6 setup bird's eye view div
hertzhaft
parents: 614
diff changeset
52 bottom: 8px;
ec131e9699a6 setup bird's eye view div
hertzhaft
parents: 614
diff changeset
53 right: 48px;
617
cd846b5c8be8 toggle view event handlers for bird's eye and 'about windows
hertzhaft
parents: 616
diff changeset
54 display: none;
615
ec131e9699a6 setup bird's eye view div
hertzhaft
parents: 614
diff changeset
55 z-index: 1;
ec131e9699a6 setup bird's eye view div
hertzhaft
parents: 614
diff changeset
56 }
ec131e9699a6 setup bird's eye view div
hertzhaft
parents: 614
diff changeset
57
616
55e06ebb879f setup the 'about' window
hertzhaft
parents: 615
diff changeset
58 div.about {
55e06ebb879f setup the 'about' window
hertzhaft
parents: 615
diff changeset
59 position: absolute;
55e06ebb879f setup the 'about' window
hertzhaft
parents: 615
diff changeset
60 width: 200px;
55e06ebb879f setup the 'about' window
hertzhaft
parents: 615
diff changeset
61 top: 100px;
55e06ebb879f setup the 'about' window
hertzhaft
parents: 615
diff changeset
62 left: 350px;
55e06ebb879f setup the 'about' window
hertzhaft
parents: 615
diff changeset
63 height: 200px;
55e06ebb879f setup the 'about' window
hertzhaft
parents: 615
diff changeset
64 padding: 0px 2px;
55e06ebb879f setup the 'about' window
hertzhaft
parents: 615
diff changeset
65 font-family: Verdana, Arial, Helvetica, sans-serif;
55e06ebb879f setup the 'about' window
hertzhaft
parents: 615
diff changeset
66 border: 2px solid lightcyan;
55e06ebb879f setup the 'about' window
hertzhaft
parents: 615
diff changeset
67 background-color: lightgrey;
55e06ebb879f setup the 'about' window
hertzhaft
parents: 615
diff changeset
68 text-align: center;
617
cd846b5c8be8 toggle view event handlers for bird's eye and 'about windows
hertzhaft
parents: 616
diff changeset
69 display: none;
616
55e06ebb879f setup the 'about' window
hertzhaft
parents: 615
diff changeset
70 z-index: 1000;
55e06ebb879f setup the 'about' window
hertzhaft
parents: 615
diff changeset
71 }
708
120ace160386 img reload works for fullscreen, but somehow not precise
hertzhaft
parents: 694
diff changeset
72
120ace160386 img reload works for fullscreen, but somehow not precise
hertzhaft
parents: 694
diff changeset
73 div.bgDrag {
120ace160386 img reload works for fullscreen, but somehow not precise
hertzhaft
parents: 694
diff changeset
74 background-color: grey;
712
823f0050f7eb 'reset' should reset fitwidth/fitheight, too
hertzhaft
parents: 710
diff changeset
75 z-index: 0;
708
120ace160386 img reload works for fullscreen, but somehow not precise
hertzhaft
parents: 694
diff changeset
76 }
616
55e06ebb879f setup the 'about' window
hertzhaft
parents: 615
diff changeset
77
607
f5d5cae64828 parameter parsing
hertzhaft
parents:
diff changeset
78 </style>
614
0bd19b6cede4 highlight hovered buttons
hertzhaft
parents: 613
diff changeset
79
607
f5d5cae64828 parameter parsing
hertzhaft
parents:
diff changeset
80 <script type="text/javascript" src="jquery-1.4.4.js"></script>
609
435f81210a33 start work on scaler call
robcast
parents: 607
diff changeset
81 <script type="text/javascript" src="dlGeometry.js"></script>
694
940c77d6e0e2 COOOOKIES
hertzhaft
parents: 693
diff changeset
82 <script type="text/javascript" src="jquery.cookie.js"></script>
607
f5d5cae64828 parameter parsing
hertzhaft
parents:
diff changeset
83 <script type="text/javascript" src="jquery.digilib.js"></script>
614
0bd19b6cede4 highlight hovered buttons
hertzhaft
parents: 613
diff changeset
84
607
f5d5cae64828 parameter parsing
hertzhaft
parents:
diff changeset
85
f5d5cae64828 parameter parsing
hertzhaft
parents:
diff changeset
86 <script type="text/javascript">
f5d5cae64828 parameter parsing
hertzhaft
parents:
diff changeset
87 $(document).ready(function(){
657
6c756024300f restore the old scaler url
hertzhaft
parents: 656
diff changeset
88 var opts = {
6c756024300f restore the old scaler url
hertzhaft
parents: 656
diff changeset
89 interactionMode : 'fullscreen',
693
e06822e74ffd I need my Hertziana connection
hertzhaft
parents: 691
diff changeset
90 scalerBaseUrl : 'http://digilib.biblhertz.it/digilib04/servlet/Scaler'
657
6c756024300f restore the old scaler url
hertzhaft
parents: 656
diff changeset
91 };
609
435f81210a33 start work on scaler call
robcast
parents: 607
diff changeset
92 $('div.digilib').digilib(opts);
607
f5d5cae64828 parameter parsing
hertzhaft
parents:
diff changeset
93 });
f5d5cae64828 parameter parsing
hertzhaft
parents:
diff changeset
94
f5d5cae64828 parameter parsing
hertzhaft
parents:
diff changeset
95 </script>
f5d5cae64828 parameter parsing
hertzhaft
parents:
diff changeset
96 </head>
f5d5cae64828 parameter parsing
hertzhaft
parents:
diff changeset
97
f5d5cae64828 parameter parsing
hertzhaft
parents:
diff changeset
98 <body>
614
0bd19b6cede4 highlight hovered buttons
hertzhaft
parents: 613
diff changeset
99
607
f5d5cae64828 parameter parsing
hertzhaft
parents:
diff changeset
100 <div id="digilib-1" class="digilib single">
614
0bd19b6cede4 highlight hovered buttons
hertzhaft
parents: 613
diff changeset
101 <img src="http://digilib.biblhertz.it/digilib04/servlet/Scaler?dw=200&amp;dh=200&amp;fn=/digisprint/jquery/FransHals-WillemVanHeythuysen" />
607
f5d5cae64828 parameter parsing
hertzhaft
parents:
diff changeset
102 </div>
f5d5cae64828 parameter parsing
hertzhaft
parents:
diff changeset
103 </body>
f5d5cae64828 parameter parsing
hertzhaft
parents:
diff changeset
104 </html>
f5d5cae64828 parameter parsing
hertzhaft
parents:
diff changeset
105