Mercurial > hg > digilib-old
comparison client/digitallibrary/jquery/jquery-test-svg.html @ 800:65e70c03870b stream
merge from juqery branch
12f790cb30de0ac42ff62fb9921d7a3215243b7b
author | robcast |
---|---|
date | Sat, 19 Feb 2011 09:56:18 +0100 |
parents | ddb28f6b066a |
children |
comparison
equal
deleted
inserted
replaced
774:4568e539abd2 | 800:65e70c03870b |
---|---|
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>jQuery.digilibSVG test</title> | |
6 | |
7 <style type="text/css"> | |
8 </style> | |
9 | |
10 <script type="text/javascript" src="jquery-1.4.4.js"></script> | |
11 <script type="text/javascript" src="jquery.cookie.js"></script> | |
12 <script type="text/javascript" src="jquery.digilib.js"></script> | |
13 <script type="text/javascript" src="jquery.digilib.geometry.js"></script> | |
14 <script type="text/javascript" src="svg/jquery.svg.js"></script> | |
15 <script type="text/javascript" src="svg/jquery.digilibSVG.js"></script> | |
16 <link rel="stylesheet" type="text/css" href="jquery.digilib.css" /> | |
17 <link rel="stylesheet" type="text/css" href="svg/jquery.digilibSVG.css" /> | |
18 | |
19 | |
20 <script type="text/javascript"> | |
21 $(document).ready(function(){ | |
22 var opts = { | |
23 interactionMode : 'fullscreen', | |
24 scalerBaseUrl : 'http://digilib.biblhertz.it/digilib04/servlet/Scaler' | |
25 }; | |
26 var $div = $('div.digilib'); | |
27 $div.digilib(opts); | |
28 var svgopts = {}; | |
29 $div.digilibSVG(svgopts); | |
30 }); | |
31 | |
32 </script> | |
33 </head> | |
34 | |
35 <body> | |
36 | |
37 <div id="digilib-1" class="digilib"> | |
38 <img src="http://digilib.biblhertz.it/digilib04/servlet/Scaler?dw=200&dh=200&fn=/digisprint/jquery/FransHals-WillemVanHeythuysen" /> | |
39 </div> | |
40 <div id="debug">DEBUG</div> | |
41 </body> | |
42 </html> | |
43 |