Skip to main content
pkoel1
Known Participant
November 10, 2015
Question

Jquery image carousel in Captivate 8 Responsive project

  • November 10, 2015
  • 0 replies
  • 322 views

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

This topic has been closed for replies.