Mercurial > hg > digilib-old
annotate client/digitallibrary/jquery/jquery-test-full.html @ 755:4c0cc97a6399 jquery
ugly workaround for IE7 image load handler bug
author | hertzhaft |
---|---|
date | Sun, 06 Feb 2011 18:25:41 +0100 |
parents | aee08dbfccae |
children | f0be4432f515 |
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> | |
670
11d96bc0ac09
birdview: nice animation for embedded mode, none for fullscreen
hertzhaft
parents:
668
diff
changeset
|
5 <title>Digilib jQuery Test: fullscreen</title> |
614 | 6 |
607 | 7 <style type="text/css"> |
8 body { | |
9 background: silver; | |
10 } | |
614 | 11 |
755 | 12 #debug { |
13 background-color: beige; | |
14 position: absolute; | |
15 opacity: 50%; | |
16 top: 4px; | |
17 left: 300px; | |
18 width: 500px; | |
19 padding: 0px 5px; | |
20 font-family: Arial; | |
21 font-size: 9px; | |
22 } | |
23 | |
607 | 24 </style> |
614 | 25 |
607 | 26 <script type="text/javascript" src="jquery-1.4.4.js"></script> |
609 | 27 <script type="text/javascript" src="dlGeometry.js"></script> |
694 | 28 <script type="text/javascript" src="jquery.cookie.js"></script> |
607 | 29 <script type="text/javascript" src="jquery.digilib.js"></script> |
729 | 30 <link rel="stylesheet" type="text/css" href="jquery.digilib.css" /> |
614 | 31 |
607 | 32 |
33 <script type="text/javascript"> | |
34 $(document).ready(function(){ | |
657 | 35 var opts = { |
36 interactionMode : 'fullscreen', | |
693 | 37 scalerBaseUrl : 'http://digilib.biblhertz.it/digilib04/servlet/Scaler' |
657 | 38 }; |
609 | 39 $('div.digilib').digilib(opts); |
607 | 40 }); |
41 | |
42 </script> | |
43 </head> | |
44 | |
45 <body> | |
614 | 46 |
729 | 47 <div id="digilib-1" class="digilib"> |
614 | 48 <img src="http://digilib.biblhertz.it/digilib04/servlet/Scaler?dw=200&dh=200&fn=/digisprint/jquery/FransHals-WillemVanHeythuysen" /> |
607 | 49 </div> |
755 | 50 <div id="debug">DEBUG</div> |
607 | 51 </body> |
52 </html> | |
53 |