Changeset 29622 for extensions/Fotorama/template
- Timestamp:
- Sep 18, 2014, 2:03:06 PM (10 years ago)
- Location:
- extensions/Fotorama/template
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
extensions/Fotorama/template/admin.tpl
r29621 r29622 44 44 <option value="dissolve"{if $Fotorama.transition == 'dissolve'} selected{/if}>{'dissolve'|translate}</option> 45 45 </select> 46 </li> 47 <li> 48 <input type="checkbox" id="clicktransition_crossfade" name="clicktransition_crossfade"{if $Fotorama.clicktransition_crossfade} checked="checked"{/if}> 49 <label for="clicktransition_crossfade"> 50 <b>{'Use crossfade transition on click'|translate}</b> 51 </label> 46 52 </li> 47 53 <li> … … 145 151 jQuery('#nav').prop('disabled', false); 146 152 } 153 154 if (jQuery('#transition').val() == "slide") { 155 jQuery('#clicktransition_crossfade').prop('disabled', false); 156 } 157 else { 158 jQuery('#clicktransition_crossfade').prop('disabled', true); 159 jQuery('#clicktransition_crossfade').removeAttr('checked'); 160 } 161 162 if(jQuery('#replace_picture').is(":checked")) { 163 jQuery('#replace_picture_only_users').prop('disabled', false); 164 } 165 else { 166 jQuery('#replace_picture_only_users').prop('disabled', true); 167 jQuery('#replace_picture_only_users').removeAttr('checked'); 168 } 147 169 } 148 170 jQuery().ready(function() { … … 155 177 update_Fotorama_state(); 156 178 }); 179 jQuery('#transition').change(function() { 180 update_Fotorama_state(); 181 }); 182 jQuery('#replace_picture').change(function() { 183 update_Fotorama_state(); 184 }); 157 185 158 186 {/literal}{/footer_script} -
extensions/Fotorama/template/slideshow.tpl
r29621 r29622 28 28 data-allowfullscreen="{$Fotorama.allowfullscreen}" data-autoplay="{if $Fotorama.autoplay}true{else}false{/if}" 29 29 data-transition="{$Fotorama.transition}" data-stopautoplayontouch="{if $Fotorama.stopautoplayontouch}true{else}false{/if}" 30 data-loop="{if $Fotorama.loop}true{else}false{/if}" data-captions="false" data-thumbheight="{$Fotorama.thumbheight}" data-thumbwidth="{$Fotorama.thumbheight}"> 30 data-loop="{if $Fotorama.loop}true{else}false{/if}" data-captions="false" data-thumbheight="{$Fotorama.thumbheight}" 31 data-thumbwidth="{$Fotorama.thumbheight}"{if $Fotorama.clicktransition_crossfade} data-clicktransition="crossfade"{/if}> 31 32 {foreach from=$items item=thumbnail} 32 33 <a href="{$thumbnail.derivative->get_url()}"
Note: See TracChangeset
for help on using the changeset viewer.