[jQuery] Jquery.Carousel -- need help understanding loading content via ajax

[jQuery] Jquery.Carousel -- need help understanding loading content via ajax


I've implemented the Jquery.Carousel on our site. I'm stumped on how
to load content dynamically, however.
The demo site:
http://sorgalla.com/projects/jcarousel/#Dynamic-Content-Loading
...shows how to load content into a blank carousel when the page loads.
We'll have data (LIs) already loaded. I then want to load additional
LIs when a person slides the carousel to the last item currently
loaded.
I assume that would be done via the 'itemLastInCallback' property.
This is what I have:
$("#mycarousel1").jcarousel({
scroll: 2,
itemLastInCallback: appendItemsToCarousel
});
function appendItemsToCarousel(carousel, state){
alert("Load the data via ajax!");
};
But when the page loads, that alert is triggered, so I'm obviously
doing something wrong.
Does anyone have an example of jquery.carousel loading additional LIs
only after the last current LI is scrolled to?
Thanks!
-DA