Mercurial > hg > digilib-old
annotate client/digitallibrary/jquery/jquery-test-full.html @ 818:eff74cfaaf97 jquery
read regions from HTML (not working yet), show info
| author | hertzhaft |
|---|---|
| date | Mon, 21 Feb 2011 18:37:44 +0100 |
| parents | 1a7b14deae3a |
| children | 8af71d9d830b |
| 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 { | |
| 775 | 9 background: grey; |
| 607 | 10 } |
| 614 | 11 |
| 762 | 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 | |
| 755 | 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; | |
| 770 | 42 display: none; |
| 755 | 43 } |
| 44 | |
| 762 | 45 div._log { |
| 46 color: grey; | |
| 47 } | |
| 48 | |
| 49 div._debug { | |
| 50 color: darkgreen; | |
| 51 } | |
| 52 | |
| 53 div._error { | |
| 54 color: red; | |
| 55 } | |
| 607 | 56 </style> |
| 614 | 57 |
| 607 | 58 <script type="text/javascript" src="jquery-1.4.4.js"></script> |
| 694 | 59 <script type="text/javascript" src="jquery.cookie.js"></script> |
| 607 | 60 <script type="text/javascript" src="jquery.digilib.js"></script> |
| 785 | 61 <script type="text/javascript" src="jquery.digilib.geometry.js"></script> |
| 795 | 62 <script type="text/javascript" src="jquery.digilib.birdseye.js"></script> |
| 792 | 63 <script type="text/javascript" src="jquery.digilib.regions.js"></script> |
|
808
ae8e98c479d5
stub for new plugins; overlay div for regions plugin
hertzhaft
parents:
795
diff
changeset
|
64 <script type="text/javascript" src="jquery.digilib.pluginstub.js"></script> |
| 729 | 65 <link rel="stylesheet" type="text/css" href="jquery.digilib.css" /> |
| 614 | 66 |
| 607 | 67 |
| 68 <script type="text/javascript"> | |
| 69 $(document).ready(function(){ | |
| 657 | 70 var opts = { |
| 71 interactionMode : 'fullscreen', | |
| 813 | 72 scalerBaseUrl : 'http://digilib.biblhertz.it/digilib04/servlet/Scaler', |
|
818
eff74cfaaf97
read regions from HTML (not working yet), show info
hertzhaft
parents:
813
diff
changeset
|
73 showRegionNumbers : true, |
|
eff74cfaaf97
read regions from HTML (not working yet), show info
hertzhaft
parents:
813
diff
changeset
|
74 includeRegionContent : true |
| 657 | 75 }; |
|
760
f0be4432f515
primitive plugin extension mechanism - unsure how useful this is
hertzhaft
parents:
755
diff
changeset
|
76 var $div = $('div.digilib'); |
|
f0be4432f515
primitive plugin extension mechanism - unsure how useful this is
hertzhaft
parents:
755
diff
changeset
|
77 $div.digilib(opts); |
| 607 | 78 }); |
| 79 | |
| 80 </script> | |
| 81 </head> | |
| 82 | |
| 83 <body> | |
| 614 | 84 |
| 729 | 85 <div id="digilib-1" class="digilib"> |
| 614 | 86 <img src="http://digilib.biblhertz.it/digilib04/servlet/Scaler?dw=200&dh=200&fn=/digisprint/jquery/FransHals-WillemVanHeythuysen" /> |
|
818
eff74cfaaf97
read regions from HTML (not working yet), show info
hertzhaft
parents:
813
diff
changeset
|
87 <div class="regioncontent" title="0.1/0.1/0.2/0.2"> |
|
eff74cfaaf97
read regions from HTML (not working yet), show info
hertzhaft
parents:
813
diff
changeset
|
88 <a href="http://www.mpiwg-berlin.mpg.de">MPI fuer Wissenschaftsgeschichte</a> |
|
eff74cfaaf97
read regions from HTML (not working yet), show info
hertzhaft
parents:
813
diff
changeset
|
89 </div> |
|
eff74cfaaf97
read regions from HTML (not working yet), show info
hertzhaft
parents:
813
diff
changeset
|
90 <div class="regioncontent" title="0.8/0.8/0.9/0.9"> |
|
eff74cfaaf97
read regions from HTML (not working yet), show info
hertzhaft
parents:
813
diff
changeset
|
91 <a href="http://www.biblhertz.it">Bibliotheca Hertziana</a> |
|
eff74cfaaf97
read regions from HTML (not working yet), show info
hertzhaft
parents:
813
diff
changeset
|
92 </div> |
| 607 | 93 </div> |
| 755 | 94 <div id="debug">DEBUG</div> |
| 607 | 95 </body> |
| 96 </html> | |
| 97 |
