Mercurial > hg > digilib-old
comparison client/digitallibrary/jquery/jquery-test-full.html @ 621:533b06116a48 jquery
merging recent changes
author | hertzhaft |
---|---|
date | Mon, 17 Jan 2011 14:19:00 +0100 |
parents | 09167ef1512e |
children | 8f40f7b6fd20 |
comparison
equal
deleted
inserted
replaced
620:5a7f82f10a5d | 621:533b06116a48 |
---|---|
1 <?xml version="1.0" ?> | 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"> | 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"> | 3 <html xmlns="http://www.w3.org/1999/xhtml"> |
4 <head> | 4 <head> |
5 <title>Digilib jQuery Test HTML</title> | 5 <title>Digilib jQuery Test HTML</title> |
6 | 6 |
7 <style type="text/css"> | 7 <style type="text/css"> |
8 body { | 8 body { |
9 background: silver; | 9 background: silver; |
10 } | 10 } |
11 | 11 |
12 div.digilib { | 12 div.digilib { |
13 float: left; | 13 float: left; |
14 padding: 10px; | 14 padding: 10px; |
15 } | 15 } |
16 | 16 |
17 div.buttons { | 17 div.buttons { |
18 position: fixed; | 18 position: fixed; |
19 right: 5px; | 19 right: 5px; |
20 top: 5px; | 20 top: 5px; |
21 padding: 3px; | 21 padding: 3px; |
22 background-color: silver; | 22 background-color: silver; |
23 } | 23 } |
24 | 24 |
25 img.button:hover { | |
26 background-image: url('../greyskin/corona.png'); | |
27 } | |
25 | 28 |
26 | 29 div.birdview { |
30 border: 1px solid white; | |
31 position: fixed; | |
32 bottom: 8px; | |
33 right: 48px; | |
34 display: none; | |
35 z-index: 1; | |
36 } | |
37 | |
38 div.about { | |
39 position: absolute; | |
40 width: 200px; | |
41 top: 100px; | |
42 left: 350px; | |
43 height: 200px; | |
44 padding: 0px 2px; | |
45 font-family: Verdana, Arial, Helvetica, sans-serif; | |
46 border: 2px solid lightcyan; | |
47 background-color: lightgrey; | |
48 text-align: center; | |
49 display: none; | |
50 z-index: 1000; | |
51 } | |
52 | |
27 </style> | 53 </style> |
28 | 54 |
29 <script type="text/javascript" src="jquery-1.4.4.js"></script> | 55 <script type="text/javascript" src="jquery-1.4.4.js"></script> |
30 <script type="text/javascript" src="dlGeometry.js"></script> | 56 <script type="text/javascript" src="dlGeometry.js"></script> |
31 <script type="text/javascript" src="jquery.digilib.js"></script> | 57 <script type="text/javascript" src="jquery.digilib.js"></script> |
32 | 58 |
33 | 59 |
34 <script type="text/javascript"> | 60 <script type="text/javascript"> |
35 $(document).ready(function(){ | 61 $(document).ready(function(){ |
36 var opts = {interactionMode : 'fullscreen', | 62 var opts = {interactionMode : 'fullscreen', |
37 scalerBaseUrl : 'http://localhost:18080/digitallibrary/servlet/Scaler'}; | 63 scalerBaseUrl : 'http://digilib.biblhertz.it/digilib04/servlet/Scaler'}; |
38 $('div.digilib').digilib(opts); | 64 $('div.digilib').digilib(opts); |
39 | 65 |
40 $('div.digilib').each(function(){ | 66 $('div.digilib').each(function(){ |
41 console.log($(this).data('digilib').settings); | 67 console.log($(this).data('digilib').settings); |
42 }); | 68 }); |
69 $('div.digilib').digilib('toggleAboutDiv'); | |
43 }); | 70 }); |
44 | 71 |
45 </script> | 72 </script> |
46 </head> | 73 </head> |
47 | 74 |
48 <body> | 75 <body> |
49 | 76 |
50 <div id="digilib-1" class="digilib single"> | 77 <div id="digilib-1" class="digilib single"> |
51 <img src="http://digilinx:18080/digitallibrary/servlet/Scaler?dw=200&dh=200&fn=/digisprint/jquery/FransHals-WillemVanHeythuysen" /> | 78 <img src="http://digilib.biblhertz.it/digilib04/servlet/Scaler?dw=200&dh=200&fn=/digisprint/jquery/FransHals-WillemVanHeythuysen" /> |
52 </div> | 79 </div> |
53 </body> | 80 </body> |
54 </html> | 81 </html> |
55 | 82 |