Closed ghost closed 12 years ago
Because you have to add at least ‘visible’ elements. Otherwise the error message is generated – turn on Firebug or other developer’s tool to see this message.
Thanks for your answer! What do you mean bye "You have to add at least 'visible' elements"?
The error message I got: "Uncaught TypeError: Cannot call method 'get' of undefined (jquery.ui.rcarousel.js:281)"
When you set number of visible to 7, you have to add at least 7 elements for rcarousel to work. As you know, the purpose of every carousel is to scroll elements. It is pointless when carousel stands still, isn't it?
Oh sorry, the error message used to be there in the previous version but now it is gone. Anyway I think that I should add the information to the documentation that ‘visible’ option is the minimum number a carousel should contain.
Ok! I understand! Thanks again for your help!
I use rcarousel to display thumbnails of videos. I set visible elements to 7, but when I have less than 7 elements in the carousel div, nothing is displayed. When I have 7 or more elements, that's ok. Is there something I can do to display the elements when I have less than 7? Here is the code of the page and the code of the rcarousel configuration.