Printable Version of Topic

Click here to view this topic in its original format

HTMLHelp Forums _ Client-side Scripting _ Automatic and Manual slider

Posted by: FKhuri Jul 16 2020, 04:07 AM

How can I let a home slider to play automatically not only manually? This is an example of a slider that I used but there is no example of both playing (manually and automatically) :

https://www.w3schools.com/howto/howto_js_slideshow.asp

What should I add to the JS code? Any help?

Posted by: Christian J Jul 16 2020, 06:27 AM

Seems the linked example can be run either manually or automatically. Do you want both?

Posted by: FKhuri Jul 16 2020, 09:26 AM

QUOTE(Christian J @ Jul 16 2020, 02:27 PM) *

Seems the linked example can be run either manually or automatically. Do you want both?



Yes, I am asking about running the slider both, manually and automatically.

Posted by: Christian J Jul 16 2020, 02:59 PM

I don't think it's easily done, for example you may need to disable the automatic slideshow when the user clicks the controls or hovers over the images.

Try find another one that does both things out of the box.

Powered by Invision Power Board (http://www.invisionboard.com)
© Invision Power Services (http://www.invisionpower.com)