Skip to content

I can't turn off the autoplay #858

Description

@spip93

Hello,

I would like to disable the slideshow autoplay on this page:
https://www.bm-aubenas.fr/nouveautes
I followed the instructions you gave on this issue:
#183
Using data-cycle-timeout = 0

From what I understood, you have to add this attribute to the div which has the "slideshow" class

Searching the page, I found this:
<div class = "slideshow fx-carousel fx-carousel-233882-32" style = "position: relative; overflow: hidden;">

Unable to edit the HTML, I went through the following JS command:
document.getElementsByClassName ('slideshow') [0] .setAttribute ("data-cycle-timeout", 0);

That added me well data-cycle-timeout = "0" (and not data-cycle-timeout = 0) (oddly only on the first slide show), but it does not work; the slideshow (s) continue to scroll.

Would you please know which line (s) of JS code to load to disable autoplay on all slideshows on the page?

Thank you in advance for your response.
Have a good day.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions