Mercurial > hg > digilib-old
comparison client/digitallibrary/jquery/jquery-test-full.html @ 609:435f81210a33 jquery
start work on scaler call
author | robcast |
---|---|
date | Fri, 14 Jan 2011 13:38:36 +0100 |
parents | client/digitallibrary/jquery/jquery-test.html@f5d5cae64828 |
children | fb94f1b74d59 |
comparison
equal
deleted
inserted
replaced
608:774a3f60efd5 | 609:435f81210a33 |
---|---|
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> | |
5 <title>Digilib jQuery Test HTML</title> | |
6 | |
7 <style type="text/css"> | |
8 body { | |
9 background: silver; | |
10 } | |
11 | |
12 div.digilib { | |
13 float: left; | |
14 padding: 10px; | |
15 } | |
16 | |
17 </style> | |
18 | |
19 <script type="text/javascript" src="jquery-1.4.4.js"></script> | |
20 <script type="text/javascript" src="dlGeometry.js"></script> | |
21 <script type="text/javascript" src="jquery.digilib.js"></script> | |
22 | |
23 | |
24 <script type="text/javascript"> | |
25 $(document).ready(function(){ | |
26 var opts = {interactionMode : 'fullscreen', | |
27 scalerBaseUrl : 'http://digilinx:18080/digitallibrary/servlet/Scaler'}; | |
28 $('div.digilib').digilib(opts); | |
29 | |
30 $('div.digilib').each(function(){ | |
31 console.log($(this).data('digilib').settings); | |
32 }); | |
33 }); | |
34 | |
35 </script> | |
36 </head> | |
37 | |
38 <body> | |
39 | |
40 <div id="digilib-1" class="digilib single"> | |
41 <img src="http://digilinx:18080/digitallibrary/servlet/Scaler?dw=200&dh=200&fn=/digisprint/jquery/FransHals-WillemVanHeythuysen" /> | |
42 </div> | |
43 </body> | |
44 </html> | |
45 |