Changeset 28392 for extensions/Slim/template
- Timestamp:
- May 8, 2014, 1:09:58 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
extensions/Slim/template/index.tpl
r28012 r28392 2 2 {$MENUBAR} 3 3 {/if} 4 5 {combine_script id='mousewheel' load='header' require='jquery' path='themes/Slim/js/mousewhell.js'} 4 6 5 7 <div id="content" class="content{if isset($MENUBAR)} contentWithMenu{/if}"> … … 166 168 $('.jcarousel') 167 169 .jcarousel({ 168 wrap: 'circular' 170 wrap: 'circular', 169 171 }) 170 172 .jcarouselAutoscroll({ … … 193 195 target: '+=1' 194 196 }); 197 198 $('.jcarousel').mousewheel(function(event, delta) { 199 if (delta > 0) 200 {$('.jcarousel').jcarousel('scroll', '-=1')} 201 else if (delta < 0) 202 {$('.jcarousel').jcarousel('scroll', '+=1')} 203 }); 204 205 //}; 206 195 207 {/literal}{/footer_script} 196 208 … … 240 252 $(this).jcarouselAutoscroll('start') 241 253 }); 254 255 $('.jcarousel').mousewheel(function(event, delta) { 256 if (delta > 0) 257 {$('.jcarousel').jcarousel('scroll', '-=1')} 258 else if (delta < 0) 259 {$('.jcarousel').jcarousel('scroll', '+=1')} 260 }); 261 242 262 {/literal}{/footer_script} 243 263
Note: See TracChangeset
for help on using the changeset viewer.