Mercurial > hg > digilib
annotate client/digitallibrary/jquery/jquery-test-full.html @ 816:36fbccbaf413 jquery
fixed automatic region links and region content
| author | hertzhaft |
|---|---|
| date | Wed, 23 Feb 2011 02:06:41 +0100 |
| parents | 29de310ed4f3 |
| children | f07b8ed13194 |
| rev | line source |
|---|---|
| 600 | 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> | |
|
663
fda2d9bd9ba7
birdview: nice animation for embedded mode, none for fullscreen
hertzhaft
parents:
661
diff
changeset
|
5 <title>Digilib jQuery Test: fullscreen</title> |
| 607 | 6 |
| 600 | 7 <style type="text/css"> |
| 8 body { | |
| 768 | 9 background: grey; |
| 600 | 10 } |
| 607 | 11 |
| 755 | 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 | |
| 748 | 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; | |
| 763 | 42 display: none; |
| 748 | 43 } |
| 44 | |
| 755 | 45 div._log { |
| 46 color: grey; | |
| 47 } | |
| 48 | |
| 49 div._debug { | |
| 50 color: darkgreen; | |
| 51 } | |
| 52 | |
| 53 div._error { | |
| 54 color: red; | |
| 55 } | |
| 600 | 56 </style> |
| 607 | 57 |
| 600 | 58 <script type="text/javascript" src="jquery-1.4.4.js"></script> |
| 687 | 59 <script type="text/javascript" src="jquery.cookie.js"></script> |
| 600 | 60 <script type="text/javascript" src="jquery.digilib.js"></script> |
| 778 | 61 <script type="text/javascript" src="jquery.digilib.geometry.js"></script> |
| 788 | 62 <script type="text/javascript" src="jquery.digilib.birdseye.js"></script> |
| 785 | 63 <script type="text/javascript" src="jquery.digilib.regions.js"></script> |
|
801
2fb1f576375d
stub for new plugins; overlay div for regions plugin
hertzhaft
parents:
788
diff
changeset
|
64 <script type="text/javascript" src="jquery.digilib.pluginstub.js"></script> |
| 722 | 65 <link rel="stylesheet" type="text/css" href="jquery.digilib.css" /> |
| 607 | 66 |
| 600 | 67 |
| 68 <script type="text/javascript"> | |
| 69 $(document).ready(function(){ | |
| 650 | 70 var opts = { |
| 71 interactionMode : 'fullscreen', | |
| 806 | 72 scalerBaseUrl : 'http://digilib.biblhertz.it/digilib04/servlet/Scaler', |
| 816 | 73 showRegionNumbers : false, |
| 74 autoRegionLinks : false, | |
|
811
29de310ed4f3
read regions from HTML (not working yet), show info
hertzhaft
parents:
806
diff
changeset
|
75 includeRegionContent : true |
| 650 | 76 }; |
|
753
8452a485e0e7
primitive plugin extension mechanism - unsure how useful this is
hertzhaft
parents:
748
diff
changeset
|
77 var $div = $('div.digilib'); |
|
8452a485e0e7
primitive plugin extension mechanism - unsure how useful this is
hertzhaft
parents:
748
diff
changeset
|
78 $div.digilib(opts); |
| 600 | 79 }); |
| 80 | |
| 81 </script> | |
| 82 </head> | |
| 83 | |
| 84 <body> | |
| 607 | 85 |
| 722 | 86 <div id="digilib-1" class="digilib"> |
| 607 | 87 <img src="http://digilib.biblhertz.it/digilib04/servlet/Scaler?dw=200&dh=200&fn=/digisprint/jquery/FransHals-WillemVanHeythuysen" /> |
| 816 | 88 <div class="keep regioncontent" title="0.1/0.1/0.4/0.1"> |
|
811
29de310ed4f3
read regions from HTML (not working yet), show info
hertzhaft
parents:
806
diff
changeset
|
89 <a href="http://www.mpiwg-berlin.mpg.de">MPI fuer Wissenschaftsgeschichte</a> |
|
29de310ed4f3
read regions from HTML (not working yet), show info
hertzhaft
parents:
806
diff
changeset
|
90 </div> |
| 816 | 91 <div class="keep regioncontent" title="0.5/0.8/0.4/0.1"> |
|
811
29de310ed4f3
read regions from HTML (not working yet), show info
hertzhaft
parents:
806
diff
changeset
|
92 <a href="http://www.biblhertz.it">Bibliotheca Hertziana</a> |
|
29de310ed4f3
read regions from HTML (not working yet), show info
hertzhaft
parents:
806
diff
changeset
|
93 </div> |
| 600 | 94 </div> |
| 748 | 95 <div id="debug">DEBUG</div> |
| 600 | 96 </body> |
| 97 </html> | |
| 98 |
