16
Made my own marquee tag using JavaScript - surprisingly worked better than I thought
I wanted that old-school scrolling text look on my retro site, but the marquee tag kept glitching in modern browsers. So I wrote a tiny script to animate text across the screen, and it actually runs smoother than the original. Has anyone else found a weird workaround that ended up being more reliable than the old HTML tag?
2 comments
Log in to join the discussion
Log In2 Comments
coleman.christopher1mo ago
Maybe it's just me, but I don't see why people get so worked up over a scrolling text effect. I remember using the marquee tag back in the late 90s and it worked fine for what it was - just a goofy visual trick nobody took seriously. Building a whole JavaScript engine for something that's basically a novelty feels like overkill unless you're really trying to impress someone who cares about CSS transitions.
5
kellymurphy29d ago
Right? That's exactly what I've been thinking lol. People act like the marquee tag was some kind of crime against humanity but it was just a fun little thing nobody took seriously back then. Now you see devs building these crazy complex libraries just to scroll some text across a screen and calling it "modern design" when it's basically the same goofy effect we had in the 90s. It's like they're trying to reinvent the wheel but making it way more complicated than it needs to be. Honestly if you're spending hours optimizing CSS transitions for something that's just a scrolling headline you're probably overthinking it a bit.
2