the variable; carousel, the argument passed into bindLoader, is undefined.. would you know what could cause this? FYI.. my carousels are being initialized in the body of the document.
Thanks again. On Oct 24, 7:51 am, Jan Sorgalla <[EMAIL PROTECTED]> wrote: > Hi, > > On 23 Okt., 21:23, pigeonpoop <[EMAIL PROTECTED]> wrote: > > > That's basically my question for you guys.. How do you feel i should > > go about this? I have multiple instances of jCarousel started on my > > page and i can't seem to figure it out. What i want to do is load all > > remaining pics into their carousels by either an external event like a > > click. > > > Is this possible? any help is greatly appreciated! > > you could use the initCallback to access the jcarousel instance. > > function bindLoader(carousel) > { > jQuery('#anchor').bind('click', function() { > // Do loading stuff here: > // carousel.add(position, item); > }; > > }; > > jQuery('#mycarousel').jcarousel({ > initCallback: bindLoader > > }); > > Jan