Hi all,
i use the jquery infinite carousel plugin.
http://www.catchmyfame.com/catchmyfame-jquery-plugins/jquery-infinite-carousel-pluginThere are functions in the object like pause(), stop(). I would like to use them for stopping the carousel if the user clicks a button.
But I simply dont know how to access them. Perhaps s.o. here knows how to create an instance to use the functions of the object.
i tried severel things like that:
test=$(function(){
return $(‘#carousel’).infiniteCarousel({
imagePath: ‘./carousel/infinitecarousel/images/’,
transitionSpeed:450
etc …
}
});
});
and then:
test[0].pause();
...but no chance, the functions inside the Obj are not accessable.
I would be very grateful, if s.o. could help me or give a tip.
Bye, Mojo