Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function mycarousel_initCallback(carousel) {
- console.log('binding left button');
- jQuery('#leftBtn').bind('click', function () {
- carousel.prev();
- return false;
- });
- console.log('binding right button');
- jQuery('#rightBtn').bind('click', function () {
- carousel.next();
- return false;
- });
- };
- (function () {
- console.log('binding carousel');
- jQuery("#currentLookAlbumImages").jcarousel({
- scroll: 1,
- visible: 1,
- wrap: 'circular',
- itemFallbackDimension: 428,
- initCallback: mycarousel_initCallback,
- buttonNextHTML: null,
- buttonPrevHTML: null
- });
- })();
Add Comment
Please, Sign In to add comment