Guest User

Untitled

a guest
Jul 18th, 2018
91
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.65 KB | None | 0 0
  1. function mycarousel_initCallback(carousel) {
  2. console.log('binding left button');
  3. jQuery('#leftBtn').bind('click', function () {
  4. carousel.prev();
  5. return false;
  6. });
  7. console.log('binding right button');
  8. jQuery('#rightBtn').bind('click', function () {
  9. carousel.next();
  10. return false;
  11. });
  12. };
  13. (function () {
  14. console.log('binding carousel');
  15. jQuery("#currentLookAlbumImages").jcarousel({
  16. scroll: 1,
  17. visible: 1,
  18. wrap: 'circular',
  19. itemFallbackDimension: 428,
  20. initCallback: mycarousel_initCallback,
  21. buttonNextHTML: null,
  22. buttonPrevHTML: null
  23. });
  24. })();
Add Comment
Please, Sign In to add comment