How to implement an autoplay for the image gallery?
q2apro opened this issue · 0 comments
q2apro commented
How to implement an autoplay for the image gallery that switches to the next element every x seconds?
I have checked the documentation. This feature seems to be missing.
Maybe an idea for a future implementation?
This would work (just need to add a button to trigger the interval):
setInterval( function() { $('.mfp-arrow-right').click() }, 5000);