Christian Heilmann

Return of the dreaded DHTML news scroller

Thursday, March 23rd, 2006 at 10:49 pm

help needed Apparently this thing is not as neat as I thought it was as it slows down Safari and Firefox on Mac enormously. As I don’t have the time to fix it right now (book writing), I invite you to have a go at it and clean it up. I will publish the fixed version with full credits here. I am not proud of this thing, I hate those scrollers.

Sometimes it is amazing how a bad idea from the past keeps popping up in different spots at the same time.
Some of you might remember when DHTML was at its prime, that every web site needed a news upscroller, marquee or other scroller. For some reason, clients love these things and many a developer started a script loaded with features and merrily mixing HTML, JavaScript and CSS to support even the most pitiful browsers out there. The DHTML Junkyards are still full of scripts hailing from that time.

This morning somebody on CSS-D asked for a table-less news upscroller in CSS, which of course is impossible, but just as I sighed and wondered who still wants those, one of our clients demanded one as well. Well, their development team agreed to implement one and wanted advice how to do one and still only use valid HTML and be accessible.

The accessibility of it is an issue, as are a lot of other things. However, I did an example and for the sake of it vented off some steam on the demo page.
Enjoy DOMnews, the DOM compliant, stop-able gracefully degrading DHTML news upscroller.

Share on Mastodon (needs instance)

Share on BlueSky

Newsletter

Check out the Dev Digest Newsletter I write every week for WeAreDevelopers. Latest issues:

Don't stop thinking, AI Slop vs. OSS Security, rolling your own S3 Despite AI you still need to think, Bitter lessons from building AI products,  AI Slop vs. OSS security and pointer pointer…
200: Building for the web, what's left after rm -rf & 🌊🐴 vs AI What remains after you do a rm -rf? Why do LLMs know about a seahorse emoji? What image formats should you use? How private is your car?
Word is Doomed, Flawed LLM benchmarks, hard sorting and CSS mistakes Spot LLM benchmark flaws, learn why sorting is hard, how to run Doom in Word and how to say "no" like a manager.
30 years of JS, Browser AI, how attackers use GenAI, whistling code Learn how to use AI in your browser and not on the cloud, why AI makes different mistakes than humans and go and whistle up some code!
197: Dunning-Kruger steroids, state of cloud security, puppies>beer

My other work: