I actually did get it to work. Sorry i never updated this page. But
this is how i ended up doing it. Thanks so much for your help, Jan!

$('slider_id').jcarousel({
     initCallback: function (carousel, state) {
                             bindLoader(carousel, state,
element_ID_to_bind, other_vars, ...);
                       }
});

I actually have another issue to solve, but i will start a new post
for that one soon.(so it can be found if searched for).

On Oct 28, 3:20 am, Jan Sorgalla <[EMAIL PROTECTED]> wrote:
> Can you post a link to a sample page with your carousel?
>
> Jan
>
> On 24 Okt., 17:12, pigeonpoop <[EMAIL PROTECTED]> wrote:
>
> > 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

Reply via email to