Scrolling banner

I have been trying to work out how to create a scrolling text banner near the top of my page. A sort of “What’s New” section, with each item that scrolls into view being clickable in order to take the reader to the appropriate page. I envisage a line of text scrolls in, and pauses, then is replaced with another, all occurring in a continuous loop. It would be placed on a coloured background.

I’ve had a look at the documentation but it still wasn’t clear to me!
Is there any way to do this in sparkle?

Natively in Sparkle no, but you can try to add a “Embbed Code” widget and apply the following code:

<marquee behavior="scroll" direction="left"><a href="link here">Here is some scrolling text... right to left!</a></marquee>

The marquee method isn’t the recommended one, so you can learn more about this here HTML Scrolling Text

2 Likes

Thank you Primo. I will have a read up!