jquery slideshow
RESPONSIVE IMAGE GALLERY WITH THUMBNAIL CAROUSEL
Everyone asking for the thumbnails below the image, it was answered several times in the comments.
“change this line
$(‘#img-wrapper-tmpl’).tmpl( {itemsCount : itemsCount} ).appendTo( $rgGallery );
$(‘#img-wrapper-tmpl’).tmpl( {itemsCount : itemsCount} ).appendTo( $rgGallery );
to
$(‘#img-wrapper-tmpl’).tmpl( {itemsCount : itemsCount} ).prependTo( $rgGallery );”
Now, does anyone know how we could add autoplay to the slideshow?
Hi all,
I’ve seen many time people ask if it’s possible to have an automatic slideshow.
I wanted the same thing and I find a way to do it.
In the file gallery.js, in the function _initCarousel add these lines after $esCarousel.elastislide( ‘setCurrent’, current ); (~ line 103) :
I wanted the same thing and I find a way to do it.
In the file gallery.js, in the function _initCarousel add these lines after $esCarousel.elastislide( ‘setCurrent’, current ); (~ line 103) :
window.setInterval(function(){
_navigate( ‘right’ );
}, 5000);
_navigate( ‘right’ );
}, 5000);
You just have to change 5000 to the value you want.
0 comments:
Post a Comment