Changeset 25997 for extensions/Slim/template/index.tpl
- Timestamp:
- Dec 17, 2013, 11:22:53 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
extensions/Slim/template/index.tpl
r19205 r25997 1 {php} global $Slim; $this->assign( 'Slim', $Slim );{/php}2 3 1 {if ($Slim.style_slim)!=1} 4 2 {$MENUBAR} … … 23 21 24 22 <div id="infoBlock"> 25 26 27 23 <div class="titrePage{if isset($chronology.TITLE)} calendarTitleBar{/if}"> 24 25 <ul class="categoryActions"> 28 26 {if !empty($image_orders)} 29 27 <li>{strip}<a id="sortOrderLink" title="{'Sort order'|@translate}" class="pwg-state-default pwg-button" rel="nofollow"> … … 163 161 164 162 {if !empty($THUMBNAILS)} 165 <ul class="thumbnails" id="thumbnails">166 163 {$THUMBNAILS} 167 </ul> 164 {footer_script}{literal} 165 $('.jcarousel') 166 .jcarousel({ 167 wrap: 'circular' 168 }) 169 .jcarouselAutoscroll({ 170 autostart: false 171 }); 172 173 $('.jcarousel-control-prev') 174 .on('jcarouselcontrol:active', function() { 175 $(this).removeClass('inactive'); 176 }) 177 .on('jcarouselcontrol:inactive', function() { 178 $(this).addClass('inactive'); 179 }) 180 .jcarouselControl({ 181 target: '-=1' 182 }); 183 184 $('.jcarousel-control-next') 185 .on('jcarouselcontrol:active', function() { 186 $(this).removeClass('inactive'); 187 }) 188 .on('jcarouselcontrol:inactive', function() { 189 $(this).addClass('inactive'); 190 }) 191 .jcarouselControl({ 192 target: '+=1' 193 }); 194 {/literal}{/footer_script} 195 168 196 {/if} 169 197 … … 171 199 {if !empty($CATEGORIES)} 172 200 {$CATEGORIES} 201 {footer_script}{literal} 202 $('.jcarousel') 203 .jcarousel({ 204 wrap: 'circular' 205 }) 206 .jcarouselAutoscroll({ 207 interval: 3000, 208 target: '+=1', 209 autostart: true 210 }); 211 212 $('.jcarousel-control-prev') 213 .on('jcarouselcontrol:active', function() { 214 $(this).removeClass('inactive'); 215 }) 216 .on('jcarouselcontrol:inactive', function() { 217 $(this).addClass('inactive'); 218 }) 219 .jcarouselControl({ 220 target: '-=1' 221 }); 222 223 $('.jcarousel-control-next') 224 .on('jcarouselcontrol:active', function() { 225 $(this).removeClass('inactive'); 226 }) 227 .on('jcarouselcontrol:inactive', function() { 228 $(this).addClass('inactive'); 229 }) 230 .jcarouselControl({ 231 target: '+=1' 232 }); 233 234 $('.jcarousel') 235 .on('mouseenter', function(){ 236 $(this).jcarouselAutoscroll('stop') 237 }) 238 .on('mouseleave', function(){ 239 $(this).jcarouselAutoscroll('start') 240 }); 241 {/literal}{/footer_script} 242 173 243 {/if} 174 244 {/if}
Note: See TracChangeset
for help on using the changeset viewer.