Changeset 16065
- Timestamp:
- Jun 26, 2012, 10:19:52 PM (12 years ago)
- Location:
- extensions/kardon
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
extensions/kardon/template/slideshow.tpl
r9803 r16065 1 {assign var='size' value=$current.selected_derivative->get_size()} 2 3 1 4 {combine_css path="themes/kardon/slideshow.css"} 2 5 … … 4 7 jQuery(document).ready(function() { 5 8 var maxWidth = maxHeight = margin = 0; 6 var finalW = w = {/literal}{$ WIDTH_IMG}{literal}, finalH = h = {/literal}{$HEIGHT_IMG}{literal};9 var finalW = w = {/literal}{$size[0]}{literal}, finalH = h = {/literal}{$size[1]}{literal}; 7 10 if (typeof( window.innerWidth ) == 'number') { 8 11 // Non-IE … … 46 49 } 47 50 48 jQuery("#theImage").append('<img style="margin-top:'+margin+'px; width:'+finalW+'px;height:'+finalH+'px" src="{/literal}{$ SRC_IMG}{literal}" alt="">');51 jQuery("#theImage").append('<img style="margin-top:'+margin+'px; width:'+finalW+'px;height:'+finalH+'px" src="{/literal}{$current.selected_derivative->get_url()}{literal}" alt="">'); 49 52 }); 50 53 {/literal}{/footer_script} … … 69 72 <noscript> 70 73 <div> 71 <img src="{$ SRC_IMG}" style="width:{$WIDTH_IMG}px;height:{$HEIGHT_IMG}px;"alt="{$ALT_IMG}">74 <img src="{$current.selected_derivative->get_url()}" {$current.selected_derivative->get_size_htm()} alt="{$ALT_IMG}"> 72 75 </div> 73 76 </noscript> -
extensions/kardon/theme.css
r9804 r16065 54 54 } 55 55 56 .switchBox { 57 background-image: url(images/fond_diapo.png); 58 color:#ccc; 59 } 60 61 .switchBoxTitle, #languageSwitchBox .switchBoxTitle {border-color:#606060 !important;} 62 63 .switchBox a, #languageSwitchBox a {color:#ddd !important;} 64 .switchBox a:hover {color:#fff} 65 66 #languageSwitchBox { 67 border: none !important; 68 } 56 69 57 70 /*{{{ Entête */ … … 120 133 } 121 134 body .content div.titrePage ul.categoryActions { 122 float: none; 123 position: absolute; 124 right: 10px; 125 top: 46px; 135 float: right; 136 margin-top: -40px; 126 137 padding: 0; 127 138 } … … 191 202 padding: 0; 192 203 position: absolute; 193 margin: 32px 0 0;204 top:80px; 194 205 width: 100%; 195 206 color:#76634E; 196 z-index: 4;207 z-index: -10; 197 208 clear: none; 198 209 left: 0; … … 205 216 #imageToolBar 206 217 { 207 position: relative;218 /* position: relative; */ 208 219 z-index: 5; 209 220 margin: 0; … … 211 222 div#imageToolBar a { 212 223 width: 28px; 224 } 225 226 #imageToolBar .imageNumber { 227 margin-top:-30px; 228 } 229 230 #imageToolBar .actionButtons { 231 margin-left: 10px; 232 z-index:20; 213 233 } 214 234 … … 279 299 280 300 301 #thePicturePage #content {padding:0;}
Note: See TracChangeset
for help on using the changeset viewer.