PDA

View Full Version : Lock Carousel?



Bucs
17 Nov 2010, 11:36 AM
Is there any way to lock a carousel from scrolling? I tried scroll: false but I am still able to slide the one image back and forth (though it snaps back into place). I will initially have one item in the carousel but will load more dynamically later and I don't like the fact that it scrolls and shows a blank background when there's only one image, so would like to turn it off for the moment.

Thanks

blessan
17 Nov 2010, 10:30 PM
then use a card layout on panel. Use the swipe event to switch between cards. In that case the card wont move. At least thats what i think.

Bucs
18 Nov 2010, 5:51 AM
I could, but then what exactly does scroll: false mean? This is a small issue, not a big deal, just would be nice to have property work and not allow the image in the carousel to move at all.