I’m working on a news ticker that pulls in a collection list and scrolls to the left continuously. I’m running into a couple of issues and I’m wondering if it’s totally possible without implementing some custom code.
In the version I have published now, I only have 3 collection items published. But in the event there are many more published, is it somehow possible to calculate the width of the collection list container based on how many items are in it? This is primarily an issue because of the way I have my interaction set up to start at 100% to the right and scroll -100% to the left and then reset at 100% to the right.
Another feature I’m working on is the ability to pause the looped scrolling interaction when the news ticker is hovered so a user can click on the linked post. Is it possibly to pause and resume an interaction based on another hover interaction?