look how simple, none of this fancy javascript crap is needed 😉
echo"
<marquee behavior=\"scroll\" direction=\"up\" scrollamount=\"2\" scrolldelay=\"1\" onmouseover='this.stop()' onmouseout='this.start()'>
Text to scroll.........
</marquee>
";
if you want it to keep scrolling if a user moves their mouse over it then just remove onmouseover='this.stop()' onmouseout='this.start()'
If your going to be scrolling links then leave it.
you can change the scrolling speed, make it scroll up, down, etc..