Changeset 27342 for extensions/Fotorama/template/slideshow.tpl
- Timestamp:
- Feb 12, 2014, 3:11:45 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
extensions/Fotorama/template/slideshow.tpl
r27201 r27342 34 34 <a href="{$thumbnail['derivative']->get_url()}" 35 35 data-full="{$thumbnail['derivative_big']->get_url()}" data-url="{$thumbnail['url']}" data-title="{$thumbnail['TITLE']}"> 36 {if $Fotorama['nav'] == 'thumbs' }<img src="{$thumbnail['derivative_thumb']->get_url()}">{/if}36 {if $Fotorama['nav'] == 'thumbs' || $Fotorama['fullscreen_nav'] == 'thumbs'}<img src="{$thumbnail['derivative_thumb']->get_url()}">{/if} 37 37 </a> 38 38 {/foreach} … … 60 60 .on('fotorama:fullscreenenter', 61 61 function (e, fotorama, extra) { 62 fullscreen = true; 62 fotorama.setOptions({ 63 nav: "{/literal}{$Fotorama['fullscreen_nav']}{literal}" 64 }); 63 65 fotorama.startAutoplay(); 66 67 if (jQuery('.fotorama').attr('data-allowfullscreen') == 'native') 68 fullscreen = true; 64 69 } 65 70 ) 66 71 .on('fotorama:fullscreenexit', 67 72 function (e, fotorama, extra) { 68 fullscreen = false; 73 fotorama.setOptions({ 74 nav: "{/literal}{$Fotorama['nav']}{literal}" 75 }); 69 76 70 77 history.replaceState(null, null, fotorama.activeFrame['url']+'&slideshow='); … … 73 80 jQuery('#slideshow .imageNumber').text((fotorama.activeFrame['i'])+'/'+{/literal}{count($items)}{literal}); 74 81 document.title = fotorama.activeFrame['title'] + ' | {/literal}{$GALLERY_TITLE}{literal}'; 82 83 fullscreen = false; 75 84 } 76 85 )
Note: See TracChangeset
for help on using the changeset viewer.