Mercurial > hg > digilib-old
annotate client/digitallibrary/jquery/jquery-test-full.html @ 747:fd4842f0afc7 jquery
smoother birdZoom indicator movement; fixed bug in jQuery.offset()
| author | hertzhaft |
|---|---|
| date | Sat, 05 Feb 2011 13:53:45 +0100 |
| parents | aee08dbfccae |
| children | 4c0cc97a6399 |
| 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 |
| 607 | 12 </style> |
| 614 | 13 |
| 607 | 14 <script type="text/javascript" src="jquery-1.4.4.js"></script> |
| 609 | 15 <script type="text/javascript" src="dlGeometry.js"></script> |
| 694 | 16 <script type="text/javascript" src="jquery.cookie.js"></script> |
| 607 | 17 <script type="text/javascript" src="jquery.digilib.js"></script> |
| 729 | 18 <link rel="stylesheet" type="text/css" href="jquery.digilib.css" /> |
| 614 | 19 |
| 607 | 20 |
| 21 <script type="text/javascript"> | |
| 22 $(document).ready(function(){ | |
| 657 | 23 var opts = { |
| 24 interactionMode : 'fullscreen', | |
| 693 | 25 scalerBaseUrl : 'http://digilib.biblhertz.it/digilib04/servlet/Scaler' |
| 657 | 26 }; |
| 609 | 27 $('div.digilib').digilib(opts); |
| 607 | 28 }); |
| 29 | |
| 30 </script> | |
| 31 </head> | |
| 32 | |
| 33 <body> | |
| 614 | 34 |
| 729 | 35 <div id="digilib-1" class="digilib"> |
| 614 | 36 <img src="http://digilib.biblhertz.it/digilib04/servlet/Scaler?dw=200&dh=200&fn=/digisprint/jquery/FransHals-WillemVanHeythuysen" /> |
| 607 | 37 </div> |
| 38 </body> | |
| 39 </html> | |
| 40 |
