Mercurial > hg > digilib-old
annotate client/digitallibrary/jquery/jquery-test-embedded.html @ 685:6ec8c8ae02c7 jquery
forgot to add the mirror pngs
author | hertzhaft |
---|---|
date | Wed, 26 Jan 2011 15:37:39 +0100 |
parents | 6c869c851c9a |
children | 86c4174977f1 |
rev | line source |
---|---|
666 | 1 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
2 <html xmlns="http://www.w3.org/1999/xhtml"> | |
3 <head> | |
670
11d96bc0ac09
birdview: nice animation for embedded mode, none for fullscreen
hertzhaft
parents:
666
diff
changeset
|
4 <title>Digilib jQuery Test: embedded</title> |
666 | 5 |
6 <style type="text/css"> | |
7 body { | |
8 background: silver; | |
9 } | |
10 | |
11 div.digilib { | |
12 float: left; | |
13 padding: 10px; | |
674 | 14 width: 220px; |
666 | 15 } |
16 | |
674 | 17 div.buttons { |
18 position: absolute; | |
19 margin-left: 184px; | |
20 top: 0px; | |
21 padding: 2px; | |
666 | 22 } |
674 | 23 |
666 | 24 div.button { |
25 } | |
26 | |
27 div.button:hover { | |
28 background-color: darkred; | |
29 } | |
30 | |
674 | 31 div.birdview { |
32 border: 1px solid white; | |
33 z-index: 1; | |
34 } | |
35 | |
36 div.about { | |
37 position: absolute; | |
38 width: 200px; | |
39 top: 100px; | |
40 left: 350px; | |
41 height: 200px; | |
42 padding: 0px 2px; | |
43 font-family: Verdana, Arial, Helvetica, sans-serif; | |
44 border: 2px solid lightcyan; | |
45 background-color: lightgrey; | |
46 text-align: center; | |
47 display: none; | |
48 z-index: 1000; | |
49 } | |
50 | |
666 | 51 </style> |
52 | |
53 <script type="text/javascript" src="jquery-1.4.4.js"></script> | |
54 <script type="text/javascript" src="dlGeometry.js"></script> | |
55 <script type="text/javascript" src="jquery.digilib.js"></script> | |
56 | |
57 | |
58 <script type="text/javascript"> | |
59 $(document).ready(function(){ | |
674 | 60 $('div.digilib').digilib({ |
61 interactionMode : 'embedded', | |
62 birdDivWidth : 100, | |
63 birdDivHeight : 100 | |
64 }); | |
666 | 65 |
66 $('div.digilib').each(function(){ | |
67 console.log($(this).data('digilib').settings); | |
68 }); | |
69 | |
70 }); | |
71 | |
72 </script> | |
73 </head> | |
74 | |
75 <body> | |
76 | |
77 <div id="digilib-1" class="digilib single"> | |
78 <img src="http://digilib.biblhertz.it/digilib04/servlet/Scaler?dw=200&dh=200&fn=/digisprint/jquery/&pn=1" /> | |
79 </div> | |
80 <div id="digilib-2" class="digilib"> | |
81 <img src="http://digilib.biblhertz.it/digilib04/servlet/Scaler?dw=200&dh=200&fn=/digisprint/jquery/ferrara" /> | |
82 </div> | |
83 <div id="digilib-3" class="digilib"> | |
84 <img src="http://digilib.biblhertz.it/digilib04/servlet/Scaler?dw=200&dh=200&fn=/digisprint/jquery/weide" /> | |
85 </div> | |
86 <div id="digilib-4" class="digilib"> | |
87 <img src="http://digilib.biblhertz.it/digilib04/servlet/Scaler?dw=200&dh=200&fn=/digisprint/jquery/HansHolbein-NikolausKratzer" /> | |
88 </div> | |
89 </body> | |
90 </html> | |
91 |