Changeset 29622 for extensions/Fotorama/template/admin.tpl
- Timestamp:
- Sep 18, 2014, 2:03:06 PM (10 years ago)
- File:
-
- 1 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}
Note: See TracChangeset
for help on using the changeset viewer.