You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I saw another thread started that sounded like this issue, but it didn't seem to have the answer I was looking for.
On the demo page, the scrolling ends at the Radio Shack logo and just stops moving, but I thought it's supposed to loop around endlessly like a belt? My scrolling logos are doing the same thing on my website... am I misunderstanding what an endless loop is supposed to do?
The text was updated successfully, but these errors were encountered:
The reason why the scroller grinded to a halt when it came to the Radio Shack logo was that the scrollable area didn't contain enough logos "to go around". So when it reached the Radio Shack logo and tried to swap for the next logo in the never ending queue, there was no free (not visible) logo to switch to.
I fixed this by adding a couple of more logos to the scrollable area. If you try the same demo page (http://smoothdivscroll.com/clickableLogoParade.html) now it will work fine. Sorry about the faulty demo!
Two important rules when you implements Smooth Div Scroll:
The combined width of all the elements inside the scrollable area need to be bigger than the width of the scroller.
If you are using the autoscrolling option, apart from rule 1, you also need to make sure that there are enough elements so the scroller can swap.
For rule number 2 you can imagine a man standing by a conveyor belt full of printed photos. Every time a photo falls off the edge at the end, this man picks it up, runs to the beginning of the conveyor belt and puts it there. And this goes on in a never-ending loop.
I saw another thread started that sounded like this issue, but it didn't seem to have the answer I was looking for.
On the demo page, the scrolling ends at the Radio Shack logo and just stops moving, but I thought it's supposed to loop around endlessly like a belt? My scrolling logos are doing the same thing on my website... am I misunderstanding what an endless loop is supposed to do?
The text was updated successfully, but these errors were encountered: