Troubleshooting auto-scrolling and image display functionality

In this meeting, the State Changer discussed the issue with a horizontal slider and the need to pause the auto-advancing feature when a thumbnail or button is clicked. They wanted to be able to restart the auto-advancing feature after a set time interval.


The State Changer explained their current setup, including functions for stopping the display and displaying the thumb to the hero. They were unsure how to implement the suspend functionality and restart the display after the pause. The State Changer received guidance on using the set timeout function to create a pause in the auto-advancing feature. They were advised to create a variable to remember the hero image index before suspending the display. The discussion also touched on the order of certain functions and the need to include logic for turning off the automatic system. The meeting concluded with the State Changer being encouraged to test and play around with the code to get the desired functionality.


(Source: Office Hours 10/12 )

State Change Members Can View The Video Here
chris-montgomery-smgTvepind4-unsplash.jpg

View This Video Now

Join State Change Risk-Free