Mercurial > hg > digilib-old
annotate client/digitallibrary/jquery/jquery-test-full.html @ 770:6d7c51e4724b jquery
highlight buttons by background image
| author | hertzhaft |
|---|---|
| date | Thu, 10 Feb 2011 22:46:17 +0100 |
| parents | aab01da232ef |
| children | 65cdf970934d |
| 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 |
| 762 | 12 div.digilib { |
| 13 /* padding for buttons and bird-div */ | |
| 14 padding-right: 18px; | |
| 15 padding-bottom: 100px; | |
| 16 /* width: 220px; */ | |
| 17 } | |
| 18 | |
| 19 div.svg { | |
| 20 position: absolute; | |
| 21 background: transparent; | |
| 22 } | |
| 23 | |
| 24 td { | |
| 25 vertical-align: top; | |
| 26 } | |
| 27 | |
| 28 div#test:hover { | |
| 29 background-color: cornsilk; | |
| 30 } | |
| 31 | |
| 755 | 32 #debug { |
| 33 background-color: beige; | |
| 34 position: absolute; | |
| 35 opacity: 50%; | |
| 36 top: 4px; | |
| 37 left: 300px; | |
| 38 width: 500px; | |
| 39 padding: 0px 5px; | |
| 40 font-family: Arial; | |
| 41 font-size: 9px; | |
| 770 | 42 display: none; |
| 755 | 43 } |
| 44 | |
| 762 | 45 div._log { |
| 46 color: grey; | |
| 47 } | |
| 48 | |
| 49 div._debug { | |
| 50 color: darkgreen; | |
| 51 } | |
| 52 | |
| 53 div._error { | |
| 54 color: red; | |
| 55 } | |
| 607 | 56 </style> |
| 614 | 57 |
| 607 | 58 <script type="text/javascript" src="jquery-1.4.4.js"></script> |
| 609 | 59 <script type="text/javascript" src="dlGeometry.js"></script> |
| 694 | 60 <script type="text/javascript" src="jquery.cookie.js"></script> |
| 607 | 61 <script type="text/javascript" src="jquery.digilib.js"></script> |
| 729 | 62 <link rel="stylesheet" type="text/css" href="jquery.digilib.css" /> |
| 614 | 63 |
| 607 | 64 |
| 65 <script type="text/javascript"> | |
| 66 $(document).ready(function(){ | |
| 657 | 67 var opts = { |
| 68 interactionMode : 'fullscreen', | |
| 693 | 69 scalerBaseUrl : 'http://digilib.biblhertz.it/digilib04/servlet/Scaler' |
| 657 | 70 }; |
|
760
f0be4432f515
primitive plugin extension mechanism - unsure how useful this is
hertzhaft
parents:
755
diff
changeset
|
71 var $div = $('div.digilib'); |
|
f0be4432f515
primitive plugin extension mechanism - unsure how useful this is
hertzhaft
parents:
755
diff
changeset
|
72 $div.digilib(opts); |
| 607 | 73 }); |
| 74 | |
| 75 </script> | |
| 76 </head> | |
| 77 | |
| 78 <body> | |
| 614 | 79 |
| 729 | 80 <div id="digilib-1" class="digilib"> |
| 614 | 81 <img src="http://digilib.biblhertz.it/digilib04/servlet/Scaler?dw=200&dh=200&fn=/digisprint/jquery/FransHals-WillemVanHeythuysen" /> |
| 607 | 82 </div> |
| 755 | 83 <div id="debug">DEBUG</div> |
| 607 | 84 </body> |
| 85 </html> | |
| 86 |
