jCarousel: Can you remove all items and rebind to a new collection?

Posted by Jim G. on Stack Overflow See other posts from Stack Overflow or by Jim G.
Published on 2009-09-03T18:35:03Z Indexed on 2010/04/27 12:33 UTC
Read the original article Hit count: 464

Filed under:
|
|

jCarousel documentation states the following:

  • By passing the callback function itemLoadCallback as configuration option, you are able to dynamically create (li) items for the content.
    {...}
  • jCarousel contains a convenience method add() that can be passed the index of the item to create and the innerHTML string of the item to be created.

My Question:

Is it possible to remove all items and rebind to a new collection?

BTW: I don't necessarily need a "convenience method" to do this. I'm very open to workarounds.
FYI: This strategy doesn't seem to work.

© Stack Overflow or respective owner

Related posts about jcarousel

Related posts about jQuery