I see that this failed to keep jCarousel in my title - newbie mistake. I do hope someone sees this though. :)
On Jan 12, 9:59 am, Josh <ranger...@gmail.com> wrote: > I'm setting up a site that usesjCarouselin 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 thejcarouselconstructor 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!