Mercurial > hg > digilib-old
comparison client/src/main/webapp/jquery/jquery-test-full.html @ 892:ba1eb2d821a2 mvnify
rearrange sources to maven directory standard
author | robcast |
---|---|
date | Tue, 19 Apr 2011 18:44:25 +0200 |
parents | client/digitallibrary/jquery/jquery-test-full.html@82e82774e0d7 |
children |
comparison
equal
deleted
inserted
replaced
891:6584af320296 | 892:ba1eb2d821a2 |
---|---|
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: fullscreen</title> | |
6 | |
7 <style type="text/css"> | |
8 body { | |
9 background: grey; | |
10 } | |
11 | |
12 div.digilib { | |
13 /* padding for buttons and bird-div */ | |
14 padding-right: 18px; | |
15 padding-bottom: 100px; | |
16 /* width: 220px; */ | |
17 } | |
18 | |
19 div.svg { | |
20 position: absolute; | |
21 background: transparent; | |
22 } | |
23 | |
24 td { | |
25 vertical-align: top; | |
26 } | |
27 | |
28 div#test:hover { | |
29 background-color: cornsilk; | |
30 } | |
31 | |
32 #debug { | |
33 background-color: beige; | |
34 position: absolute; | |
35 opacity: 50%; | |
36 top: 4px; | |
37 left: 300px; | |
38 width: 500px; | |
39 padding: 0px 5px; | |
40 font-family: Arial; | |
41 font-size: 9px; | |
42 display: none; | |
43 } | |
44 | |
45 div._log { | |
46 color: grey; | |
47 } | |
48 | |
49 div._debug { | |
50 color: darkgreen; | |
51 } | |
52 | |
53 div._error { | |
54 color: red; | |
55 } | |
56 </style> | |
57 | |
58 <script type="text/javascript" src="jquery-1.5.1.js"></script> | |
59 <script type="text/javascript" src="jquery.cookie.js"></script> | |
60 <script type="text/javascript" src="jquery.digilib.js"></script> | |
61 <script type="text/javascript" src="jquery.digilib.geometry.js"></script> | |
62 <script type="text/javascript" src="jquery.digilib.birdseye.js"></script> | |
63 <script type="text/javascript" src="jquery.digilib.regions.js"></script> | |
64 <script type="text/javascript" src="jquery.digilib.pluginstub.js"></script> | |
65 <link rel="stylesheet" type="text/css" href="jquery.digilib.css" /> | |
66 | |
67 | |
68 <script type="text/javascript"> | |
69 $(document).ready(function(){ | |
70 var opts = { | |
71 interactionMode : 'fullscreen', | |
72 scalerBaseUrl : 'http://digilib.biblhertz.it/digilib04/servlet/Scaler', | |
73 showRegionNumbers : true, | |
74 autoRegionLinks : false | |
75 }; | |
76 var $div = $('div.digilib'); | |
77 $div.digilib(opts); | |
78 }); | |
79 | |
80 </script> | |
81 </head> | |
82 | |
83 <body> | |
84 | |
85 <div id="digilib-1" class="digilib"> | |
86 <img src="http://digilib.biblhertz.it/digilib04/servlet/Scaler?dw=200&dh=200&fn=/digisprint/jquery/FransHals-WillemVanHeythuysen" /> | |
87 </div> | |
88 <div id="debug">DEBUG</div> | |
89 <!-- | |
90 <div class="keep regioncontent"> | |
91 <a href="http://www.mpiwg-berlin.mpg.de" coords="0.1,0.1,0.4,0.1">MPI fuer Wissenschaftsgeschichte</a> | |
92 <a href="http://www.biblhertz.it" coords="0.5,0.8,0.4,0.1">Bibliotheca Hertziana</a> | |
93 <a coords="0.3,0.5,0.15,0.1" /> | |
94 </div> | |
95 --> | |
96 </body> | |
97 </html> | |
98 |