Copy link to clipboard
Copied
Hello,
I am trying to use Jquery to create an image carousel. I seem to be having an issue referencing the smart shape (set up to hold an image). This is the code I am using on the actions for the 'On Enter' action:
$(document).ready(function(){
$('.slider1').bxSlider({
slideWidth: 200,
minSlides: 2,
maxSlides: 3,
slideMargin: 10
});
});
I believe I need to replace the 'document' keyword with a reference to the image object, but do not know how. Has anyone else tried to do this or something similar?
Thanks,
Peter
Have something to add?