comparison 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
comparison
equal deleted inserted replaced
815:60e8cca7ac81 818:eff74cfaaf97
68 <script type="text/javascript"> 68 <script type="text/javascript">
69 $(document).ready(function(){ 69 $(document).ready(function(){
70 var opts = { 70 var opts = {
71 interactionMode : 'fullscreen', 71 interactionMode : 'fullscreen',
72 scalerBaseUrl : 'http://digilib.biblhertz.it/digilib04/servlet/Scaler', 72 scalerBaseUrl : 'http://digilib.biblhertz.it/digilib04/servlet/Scaler',
73 showRegionNumbers : true 73 showRegionNumbers : true,
74 includeRegionContent : true
74 }; 75 };
75 var $div = $('div.digilib'); 76 var $div = $('div.digilib');
76 $div.digilib(opts); 77 $div.digilib(opts);
77 }); 78 });
78 79
81 82
82 <body> 83 <body>
83 84
84 <div id="digilib-1" class="digilib"> 85 <div id="digilib-1" class="digilib">
85 <img src="http://digilib.biblhertz.it/digilib04/servlet/Scaler?dw=200&amp;dh=200&amp;fn=/digisprint/jquery/FransHals-WillemVanHeythuysen" /> 86 <img src="http://digilib.biblhertz.it/digilib04/servlet/Scaler?dw=200&amp;dh=200&amp;fn=/digisprint/jquery/FransHals-WillemVanHeythuysen" />
87 <div class="regioncontent" title="0.1/0.1/0.2/0.2">
88 <a href="http://www.mpiwg-berlin.mpg.de">MPI fuer Wissenschaftsgeschichte</a>
89 </div>
90 <div class="regioncontent" title="0.8/0.8/0.9/0.9">
91 <a href="http://www.biblhertz.it">Bibliotheca Hertziana</a>
92 </div>
86 </div> 93 </div>
87 <div id="debug">DEBUG</div> 94 <div id="debug">DEBUG</div>
88 </body> 95 </body>
89 </html> 96 </html>
90 97