Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

Jquery image carousel in Captivate 8 Responsive project

Community Beginner ,
Nov 10, 2015 Nov 10, 2015

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

299
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
no replies

Have something to add?

Join the conversation
Resources
Help resources