Mercurial > hg > digilib-old
comparison 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 |
comparison
equal
deleted
inserted
replaced
769:7e9851ef03d7 | 770:6d7c51e4724b |
---|---|
37 left: 300px; | 37 left: 300px; |
38 width: 500px; | 38 width: 500px; |
39 padding: 0px 5px; | 39 padding: 0px 5px; |
40 font-family: Arial; | 40 font-family: Arial; |
41 font-size: 9px; | 41 font-size: 9px; |
42 display: none; | |
42 } | 43 } |
43 | 44 |
44 div._log { | 45 div._log { |
45 color: grey; | 46 color: grey; |
46 } | 47 } |
67 interactionMode : 'fullscreen', | 68 interactionMode : 'fullscreen', |
68 scalerBaseUrl : 'http://digilib.biblhertz.it/digilib04/servlet/Scaler' | 69 scalerBaseUrl : 'http://digilib.biblhertz.it/digilib04/servlet/Scaler' |
69 }; | 70 }; |
70 var $div = $('div.digilib'); | 71 var $div = $('div.digilib'); |
71 $div.digilib(opts); | 72 $div.digilib(opts); |
72 var obj = { | |
73 'initExtension' : function() { | |
74 var settings = $(this).data('digilib').settings; | |
75 console.debug('initExtension:', this, 'settings:', settings); | |
76 }, | |
77 'options' : { 'test' : 'content of option "test"' }, | |
78 }; | |
79 $div.digilib('extendPlugin', obj); | |
80 $div.digilib('initExtension'); | |
81 }); | 73 }); |
82 | 74 |
83 </script> | 75 </script> |
84 </head> | 76 </head> |
85 | 77 |