Mercurial > hg > digilib
annotate client/digitallibrary/jquery/jquery-test-full.html @ 727:42b6b6cb0744 jquery
leave dragged background image in scaler.
| author | robcast |
|---|---|
| date | Wed, 02 Feb 2011 00:02:58 +0100 |
| parents | a8a3b92bb963 |
| children | fb4ffac2950d |
| rev | line source |
|---|---|
| 600 | 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> | |
|
663
fda2d9bd9ba7
birdview: nice animation for embedded mode, none for fullscreen
hertzhaft
parents:
661
diff
changeset
|
5 <title>Digilib jQuery Test: fullscreen</title> |
| 607 | 6 |
| 600 | 7 <style type="text/css"> |
| 8 body { | |
| 9 background: silver; | |
| 10 } | |
| 607 | 11 |
| 600 | 12 </style> |
| 607 | 13 |
| 600 | 14 <script type="text/javascript" src="jquery-1.4.4.js"></script> |
| 602 | 15 <script type="text/javascript" src="dlGeometry.js"></script> |
| 687 | 16 <script type="text/javascript" src="jquery.cookie.js"></script> |
| 600 | 17 <script type="text/javascript" src="jquery.digilib.js"></script> |
| 722 | 18 <link rel="stylesheet" type="text/css" href="jquery.digilib.css" /> |
| 607 | 19 |
| 600 | 20 |
| 21 <script type="text/javascript"> | |
| 22 $(document).ready(function(){ | |
| 650 | 23 var opts = { |
| 24 interactionMode : 'fullscreen', | |
| 686 | 25 scalerBaseUrl : 'http://digilib.biblhertz.it/digilib04/servlet/Scaler' |
| 650 | 26 }; |
| 602 | 27 $('div.digilib').digilib(opts); |
| 600 | 28 }); |
| 29 | |
| 30 </script> | |
| 31 </head> | |
| 32 | |
| 33 <body> | |
| 607 | 34 |
| 722 | 35 <div id="digilib-1" class="digilib"> |
| 607 | 36 <img src="http://digilib.biblhertz.it/digilib04/servlet/Scaler?dw=200&dh=200&fn=/digisprint/jquery/FransHals-WillemVanHeythuysen" /> |
| 600 | 37 </div> |
| 38 </body> | |
| 39 </html> | |
| 40 |
