I'm setting up a site that uses jCarousel in a variety of places (and for that I must thank Jan, it's a great tool); the sliders are all going to look similar but all will use slightly different XML for the ajax portion. What I would like to be able to do would be to pass this feed as an argument to the jcarousel constructor so that it would look something like this:
jQuery('#classname-carousel').jcarousel({ itemVisibleOutCallback: {onAfterAnimation: function(carousel, item, i, state, evt) { carousel.remove(i); }}, itemLoadCallback: mycarousel_itemLoadCallback, xmlSource: '/path/to/source.xml' scroll: 4 }); My questions are: 1. Is this the best way to go about this? If so, how can I make this change, and can it be done in the packed source? 2. If there is a better and/or more obvious way to do this without having to extend the core functionality, could you let me know? Thanks to anyone with advice!