607
|
1 <?xml version="1.0" ?>
|
|
2 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
|
3 <html xmlns="http://www.w3.org/1999/xhtml">
|
|
4 <head>
|
|
5 <title>Digilib jQuery Test HTML</title>
|
614
|
6
|
607
|
7 <style type="text/css">
|
|
8 body {
|
|
9 background: silver;
|
|
10 }
|
614
|
11
|
607
|
12 div.digilib {
|
|
13 float: left;
|
|
14 padding: 10px;
|
|
15 }
|
614
|
16
|
612
|
17 div.buttons {
|
|
18 position: fixed;
|
|
19 right: 5px;
|
|
20 top: 5px;
|
|
21 padding: 3px;
|
614
|
22 background-color: silver;
|
|
23 }
|
612
|
24
|
614
|
25 img.button:hover {
|
|
26 background-image: url('../greyskin/corona.png');
|
|
27 }
|
|
28
|
607
|
29 </style>
|
614
|
30
|
607
|
31 <script type="text/javascript" src="jquery-1.4.4.js"></script>
|
609
|
32 <script type="text/javascript" src="dlGeometry.js"></script>
|
607
|
33 <script type="text/javascript" src="jquery.digilib.js"></script>
|
614
|
34
|
607
|
35
|
|
36 <script type="text/javascript">
|
|
37 $(document).ready(function(){
|
614
|
38 var opts = {interactionMode : 'fullscreen',
|
|
39 scalerBaseUrl : 'http://digilib.biblhertz.it/digilib04/servlet/Scaler'};
|
609
|
40 $('div.digilib').digilib(opts);
|
607
|
41
|
|
42 $('div.digilib').each(function(){
|
|
43 console.log($(this).data('digilib').settings);
|
|
44 });
|
|
45 });
|
|
46
|
|
47 </script>
|
|
48 </head>
|
|
49
|
|
50 <body>
|
614
|
51
|
607
|
52 <div id="digilib-1" class="digilib single">
|
614
|
53 <img src="http://digilib.biblhertz.it/digilib04/servlet/Scaler?dw=200&dh=200&fn=/digisprint/jquery/FransHals-WillemVanHeythuysen" />
|
607
|
54 </div>
|
|
55 </body>
|
|
56 </html>
|
|
57
|