Help on Ticker

im very new i just need to create a ticker thats seamless, I tried to create one but it animates fully and leaves a gap in between and when its done only does the next one start. using html n bootstrap
No description
7 Replies
???
???OP2mo ago
the gap what im trying to get:
???
???OP2mo ago
No description
Jochem
Jochem2mo ago
I can't make an example right now, but you have to fake that effect by adding more items in the markup. The easiest way is usually to double the list, then animate it moving half its width, and snap back to 0% at the end of the animation. so basically the second set of items is just there so that it looks like the list is starting over, then when you reset back to the start they're seamlessly replaced by the identical items in the first list
???
???OP2mo ago
But doesnt the first one then just vanish? Please give me sec my pc acting up Then i can send you some ss
Jochem
Jochem2mo ago
You can clone the marquee items with javascript if you prefer, or do it manually when you make the HTML. Just make sure that the duplicate set has aria-hidden="true" set on them, so screenreaders know not to read them to people that use those
???
???OP2mo ago
Thanks @Jochem
Want results from more Discord servers?
Add your server