27 Mar 2013 12:56 PM #1
A LazyCarousel component in 80 lines of code
I blogged about how we built a LazyCarousel on top of the existing carousel.
You can easily built infinite carousels on top of it. Here is one example with a truly infinite calendar carousel (also linked from the posting)
29 Mar 2013 8:30 AM #2
- Join Date
- Mar 2007
- Gainesville, FL
- Vote Rating
Tested on my iPhone when you tweeted me, performs quite well in your demo!Mitchell Simoens @SenchaMitch
Sencha Inc, Senior Software Engineer
Check out my GitHub, lots of nice things for Ext JS 4 and Sencha Touch 2
Think my support is good? Get more personalized support via a support subscription. https://www.sencha.com/store/
Need more help with your app? Hire Sencha Services firstname.lastname@example.org
Want to learn Sencha Touch 2? Check out Sencha Touch in Action that is in print!
When posting code, please use BBCode's CODE tags.
6 Apr 2013 9:00 PM #3
Thanks cburgdorf !!
I was looking for something like this for an educational purpose (loading svg in a carousel)
One thing though : ain't bottom dots useless then ? Would it be possible to still have the corresponding dots (saying 6 or 7) but not loading them ?
13 Apr 2013 11:40 AM #4
Yes, they are absolutely useless and I basically just left them in for the demo to show that there are really only three items at any time. But you can easily set the indicator to false.
I'm not sure if you can trick the indicator to show a different number. Probably yes.