Page 1 of 1

Can you stop automatic slideshow within a carousel?

Posted: Mon Apr 03, 2023 5:05 pm
by iMatt
Is it possible to have a carousel display a set of images without them scrolling? I want the user to click on the navigation buttons to display the images.

Re: Can you stop automatic slideshow within a carousel?

Posted: Mon Apr 03, 2023 5:30 pm
by Pablo
Set the 'pause time' to 0

Re: Can you stop automatic slideshow within a carousel?

Posted: Wed Mar 11, 2026 7:43 pm
by paul.maechler
Hi there
Can I stop and start a slide show using a button ?

Re: Can you stop automatic slideshow within a carousel?

Posted: Wed Mar 11, 2026 8:31 pm
by BaconFries
Yes it is possible you can use events to start/stop the Carousel or a Slideshow.

Re: Can you stop automatic slideshow within a carousel?

Posted: Thu Mar 12, 2026 6:13 pm
by paul.maechler
Great to hear.
Can you explain me how I do that ?
I gave my best but it did not work for me....

Re: Can you stop automatic slideshow within a carousel?

Posted: Thu Mar 12, 2026 6:21 pm
by Pablo
Step 1
Add a button, or any other object that support events

Step 2
Add an 'onclick' event

Step 3
Set the action to media start/stop/pause

Step 4
Select the slideshow in the target

Re: Can you stop automatic slideshow within a carousel?

Posted: Wed Mar 25, 2026 1:29 pm
by paul.maechler
Thanks fir your help Pablo

But that is not working vor me. I tried that already.

button > onlick > mediastop > NameofTheSlideShow

See https://diekulissezug.ch/index3.html

Re: Can you stop automatic slideshow within a carousel?

Posted: Wed Mar 25, 2026 1:48 pm
by AliGW
Which page? Where is the button?

Re: Can you stop automatic slideshow within a carousel?

Posted: Wed Mar 25, 2026 2:10 pm
by BaconFries
@Ali The url is the page and the button is to the top right which looks like a pause button above the pdf icon

Image

If viewing on your mobile you will need to change it to desktop mode to see

@paul it is always best to provide a "Demo" project the .wbs as it can then be loaded into the software and see exactly what you have done as a url doesn't really help.

Re: Can you stop automatic slideshow within a carousel?

Posted: Wed Mar 25, 2026 2:28 pm
by AliGW
The code attached to the pause button is this:

Code: Select all

<a href="#" onclick="PauseAudio('SlideShowR');PauseAudio('SlideShowL');return false;"><div id="Icon3"><i class="fa fa-pause-circle"></i></div></a>
PauseAudio does not look right to me ...

Re: Can you stop automatic slideshow within a carousel?

Posted: Wed Mar 25, 2026 3:08 pm
by BaconFries
As you are applying a onclick event you may also need to apply the following to the button return true

Code: Select all

<a href="#" onclick="PauseAudio('SlideShowR');PauseAudio('SlideShowL');return false;return true;"><div id="Icon3"><i class="fa fa-pause-circle"></i></div></a>

Re: Can you stop automatic slideshow within a carousel?

Posted: Wed Mar 25, 2026 3:34 pm
by paul.maechler
Didn't get it....

How can I attach the .wbs file here ?


https://downloads.pmi.ch/dKZ2026-test.wbs

Re: Can you stop automatic slideshow within a carousel?

Posted: Wed Mar 25, 2026 4:31 pm
by Pablo
The download link does not work for me.

However, 'PauseAudio' indicates that you have selected the wrong event action.
For the slideshow you will need to use 'Slideshow Next' or 'Slideshow Previous'

Re: Can you stop automatic slideshow within a carousel?

Posted: Wed Mar 25, 2026 5:01 pm
by paul.maechler
I like to stop the slideshow. Not forward/backward.

Link is Ok for me. What country are you connecting from ?
We use GeoBlocking for some services.

Re: Can you stop automatic slideshow within a carousel?

Posted: Wed Mar 25, 2026 5:02 pm
by Pablo
I'm sorry, there is no event to stop the slideshow. This is only available for the carousel object.

Re: Can you stop automatic slideshow within a carousel?

Posted: Wed Mar 25, 2026 11:58 pm
by paul.maechler
OK. Thank you for your support.