1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37
| <script id="addJS">jQuery(document).ready(function($) {
$('#video-gallery').royalSlider({
arrowsNav: false,
fadeinLoadedSlide: true,
controlNavigationSpacing: 0,
controlNavigation: 'thumbnails',
thumbs: {
autoCenter: false,
fitInViewport: true,
orientation: 'vertical',
spacing: 0,
paddingBottom: 0
},
keyboardNavEnabled: true,
imageScaleMode: 'fill',
imageAlignCenter:true,
slidesSpacing: 0,
loop: false,
loopRewind: true,
numImagesToPreload: 3,
video: {
autoHideArrows:true,
autoHideControlNav:false,
autoHideBlocks: true
},
autoScaleSlider: true,
autoScaleSliderWidth: 960,
autoScaleSliderHeight: 450,
/* size of all images http://help.dimsemenov.com/kb/royalslider-jquery-plugin-faq/adding-width-and-height-properties-to-images */
imgWidth: 640,
imgHeight: 360
});
});
</script> |
Partager