# Light carousel Light-weight Amazon-like carousel based on jQuery! ## Demo: https://c1one-38.github.io/light-carousel/ ## Usage example: Easy as: ```js var lc = new LightCarousel($('#carousel')); lc.setup(); ``` ## Example html markup: ```html
... ... ... ... ``` ## Options: Feel free to pass your own selectors for carousel elements or animation speed as second argument. Below you see default values: ```js defaultOptions = { animationSpeed: 500, selectors: { collectionWrapper: 'ul', leftBtn: '.lc-arrow-left', rightBtn: '.lc-arrow-right', scrollbarTrack: '.lc-scrollbar-track' } } new LightCarousel($('#carousel'), defaultOptions); ``` ## Destroy: ```js lc.destroy(); ```