Mercurial > hg > digilib-old
annotate client/digitallibrary/jquery/jquery-test-full.html @ 710:d533bdf0e64e jquery
cosmetics
| author | hertzhaft |
|---|---|
| date | Sat, 29 Jan 2011 23:50:06 +0100 |
| parents | 120ace160386 |
| children | 823f0050f7eb |
| rev | line source |
|---|---|
| 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> | |
|
670
11d96bc0ac09
birdview: nice animation for embedded mode, none for fullscreen
hertzhaft
parents:
668
diff
changeset
|
5 <title>Digilib jQuery Test: fullscreen</title> |
| 614 | 6 |
| 607 | 7 <style type="text/css"> |
| 8 body { | |
| 9 background: silver; | |
| 10 } | |
| 614 | 11 |
| 607 | 12 div.digilib { |
| 13 } | |
| 614 | 14 |
| 612 | 15 div.buttons { |
| 16 position: fixed; | |
| 17 right: 5px; | |
| 18 top: 5px; | |
| 19 padding: 3px; | |
| 614 | 20 background-color: silver; |
| 21 } | |
| 612 | 22 |
| 614 | 23 img.button:hover { |
| 24 background-image: url('../greyskin/corona.png'); | |
| 25 } | |
| 26 | |
| 654 | 27 div.digilib div.mark { |
| 28 position: absolute; | |
| 29 color: white; | |
| 30 background: url('../greyskin/mark-bg-16.png'); | |
| 31 font-family: Verdana, Arial, Helvetica, sans-serif; | |
| 32 font-weight: bold; | |
| 33 font-size:11px; | |
| 34 height: 15px; | |
| 35 width: 16px; | |
| 36 padding-top: 1px; | |
| 37 text-align: center; | |
| 38 z-index: 10; | |
| 39 } | |
| 40 | |
| 41 div.digilib div.zoomrect { | |
| 42 position: absolute; | |
| 43 /* border: 2px solid #ffa060; */ | |
| 44 border: 2px solid #ff0000; | |
| 45 z-index: 200; | |
| 46 } | |
| 668 | 47 |
| 615 | 48 div.birdview { |
| 49 border: 1px solid white; | |
| 50 position: fixed; | |
| 51 bottom: 8px; | |
| 52 right: 48px; | |
|
617
cd846b5c8be8
toggle view event handlers for bird's eye and 'about windows
hertzhaft
parents:
616
diff
changeset
|
53 display: none; |
| 615 | 54 z-index: 1; |
| 55 } | |
| 56 | |
| 616 | 57 div.about { |
| 58 position: absolute; | |
| 59 width: 200px; | |
| 60 top: 100px; | |
| 61 left: 350px; | |
| 62 height: 200px; | |
| 63 padding: 0px 2px; | |
| 64 font-family: Verdana, Arial, Helvetica, sans-serif; | |
| 65 border: 2px solid lightcyan; | |
| 66 background-color: lightgrey; | |
| 67 text-align: center; | |
|
617
cd846b5c8be8
toggle view event handlers for bird's eye and 'about windows
hertzhaft
parents:
616
diff
changeset
|
68 display: none; |
| 616 | 69 z-index: 1000; |
| 70 } | |
|
708
120ace160386
img reload works for fullscreen, but somehow not precise
hertzhaft
parents:
694
diff
changeset
|
71 |
|
120ace160386
img reload works for fullscreen, but somehow not precise
hertzhaft
parents:
694
diff
changeset
|
72 div.bgDrag { |
|
120ace160386
img reload works for fullscreen, but somehow not precise
hertzhaft
parents:
694
diff
changeset
|
73 background-color: grey; |
|
120ace160386
img reload works for fullscreen, but somehow not precise
hertzhaft
parents:
694
diff
changeset
|
74 } |
| 616 | 75 |
| 607 | 76 </style> |
| 614 | 77 |
| 607 | 78 <script type="text/javascript" src="jquery-1.4.4.js"></script> |
| 609 | 79 <script type="text/javascript" src="dlGeometry.js"></script> |
| 694 | 80 <script type="text/javascript" src="jquery.cookie.js"></script> |
| 607 | 81 <script type="text/javascript" src="jquery.digilib.js"></script> |
| 614 | 82 |
| 607 | 83 |
| 84 <script type="text/javascript"> | |
| 85 $(document).ready(function(){ | |
| 657 | 86 var opts = { |
| 87 interactionMode : 'fullscreen', | |
| 693 | 88 scalerBaseUrl : 'http://digilib.biblhertz.it/digilib04/servlet/Scaler' |
| 657 | 89 }; |
| 609 | 90 $('div.digilib').digilib(opts); |
| 607 | 91 }); |
| 92 | |
| 93 </script> | |
| 94 </head> | |
| 95 | |
| 96 <body> | |
| 614 | 97 |
| 607 | 98 <div id="digilib-1" class="digilib single"> |
| 614 | 99 <img src="http://digilib.biblhertz.it/digilib04/servlet/Scaler?dw=200&dh=200&fn=/digisprint/jquery/FransHals-WillemVanHeythuysen" /> |
| 607 | 100 </div> |
| 101 </body> | |
| 102 </html> | |
| 103 |
