PDA

View Full Version : Carousel SetCard



hitman01
14 Sep 2010, 1:28 PM
Whats the best way to setCard (not active) in a carousel. Basically I would like to update the next couple of cards every time the users switches a card.

I can do it this way:
panel.items.items[pageIndex].body.dom.innerHTML = ''

But I'm looking for a more elegant way using Object Item.

I'm loading an image carousel and I would like to preload a couple of images every time a user switches to next card.

Thank you in advance.

evant
14 Sep 2010, 4:01 PM
Use the update method on the component.