Mercurial > hg > digilib-old
annotate client/digitallibrary/jquery/jquery-test-full.html @ 613:53ee659e2d00 jquery
keeping img tag for embedded mode seems to work now
author | robcast |
---|---|
date | Sun, 16 Jan 2011 00:56:59 +0100 |
parents | fb94f1b74d59 |
children | 0bd19b6cede4 |
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> | |
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 | |
612 | 17 div.buttons { |
18 position: fixed; | |
19 right: 5px; | |
20 top: 5px; | |
21 padding: 3px; | |
22 background-color: silver; | |
23 } | |
24 | |
25 | |
26 | |
607 | 27 </style> |
28 | |
29 <script type="text/javascript" src="jquery-1.4.4.js"></script> | |
609 | 30 <script type="text/javascript" src="dlGeometry.js"></script> |
607 | 31 <script type="text/javascript" src="jquery.digilib.js"></script> |
32 | |
33 | |
34 <script type="text/javascript"> | |
35 $(document).ready(function(){ | |
609 | 36 var opts = {interactionMode : 'fullscreen', |
613
53ee659e2d00
keeping img tag for embedded mode seems to work now
robcast
parents:
612
diff
changeset
|
37 scalerBaseUrl : 'http://localhost:18080/digitallibrary/servlet/Scaler'}; |
609 | 38 $('div.digilib').digilib(opts); |
607 | 39 |
40 $('div.digilib').each(function(){ | |
41 console.log($(this).data('digilib').settings); | |
42 }); | |
43 }); | |
44 | |
45 </script> | |
46 </head> | |
47 | |
48 <body> | |
49 | |
50 <div id="digilib-1" class="digilib single"> | |
51 <img src="http://digilinx:18080/digitallibrary/servlet/Scaler?dw=200&dh=200&fn=/digisprint/jquery/FransHals-WillemVanHeythuysen" /> | |
52 </div> | |
53 </body> | |
54 </html> | |
55 |