Hi there,

  I'm trying to implement the jCarousel at:  . My carousel has
multiple <ul> containers. When a user presses a button the main <ul>
container gets swapped with another one. Is there a way to clear the
main <ul> container and reload the carousel?

Something like this:

var main_List = [
    Pictures
]

var tab1 = [Pictures] var tab2 = [picutres]

<button onClick="main_List = tab2;">tab2

The main_List gets loaded correctly.

    jQuery('#mycarousel').jcarousel({
        wrap: 'circular',
        itemVisibleInCallback: {onBeforeAnimation:
mycarousel_itemVisibleInCallback},
        itemVisibleOutCallback: {onAfterAnimation:
mycarousel_itemVisibleOutCallback}
    });

I just can't seem to call the carousel reset funtion properly.

Any ideas?

Thanks in advance

Reply via email to