About slideshows

Hi,

  1. Something weird: when I switch from my first slide (index = 0) to my second slide and using
$w("#mySlideshow").changeSlide(1);
//and then
console.log($w("#mySlideshow").currentIndex);

I still get 0, even though the slide itself has been switched from the first slide (index = 0) to the following side. Any idea why?

  1. Is there any way to set different slide size within the same slideshow?

Thanks,
J.D.

re the first question, I’ve added the onChange(), but yet it failed to detect the first slide change. If I go back from slide 2 to the first slide [index =0] and then click NEXT it works as expected, but the first transition from slide 1 (inx 0) to slide 2 (inx 1) is not detected from unknown reason. What do you think?

I think i might be experiencing a similar problem at the moment

This was working fine but it keeps running into this bizarre problem.

I have a dropdown to expand a slide show, then change to the specific slide dependent on the dropdown value chosen.

The only problem is that it might be changing from slide 0 instead of changing to slide 0.

Here is my code:

//Intro To Theory Dropdown
//EX1
export function IntroToTheoryDropdown_change() {
if ($w(‘#IntroToTheoryDropdown’).value === ‘Ex#1’)
$w(‘#intrototheoryEX’).expand()
$w(‘#intrototheoryEX’).changeSlide(0)

//EX2
if ($w(‘#IntroToTheoryDropdown’).value === ‘Ex#2’)
$w(‘#intrototheoryEX’).expand()
$w(‘#intrototheoryEX’).changeSlide(1)
}

It keeps going from the first slide to the second slide, and vice versa, despite me choosing to go to the first slide.

Any luck on this?