Hacker News new | ask | show | jobs
by ksimon 1290 days ago
Haha, thanks for another idea, cursor showing current time is what we all miss on our websites today :)

PS. The JS is used just to generate and embed the code, snow effect is 100% CSS :)

3 comments

Yeah nowadays CSS is pretty powerful, back in the day the CSS couldn't even handle your website layout, had to use tables for that ;)
Tables? pft. Frames. Frames were the business.
Also consider making a replacement for the marquee element for a true nostalgic experience. Or does it still work in modern browsers?
It has been removed from web standards, but at least today it still works both in Chrome and Safari, I just tested. See for yourself: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/ma...
Wow, I never even knew you could scroll upwards or both ways!

Works on Firefox too. I tried adding <blink> but (thankfully) that didn't work.

Blinking Marquees were a big thing.

Blink was removed a long time ago, but you can emulate it easily with CSS animations.

To make it even more irritatingly attention grabbing while trying to read something else, layer the blink (or fade if being slightly more subtle) so it occasionally blinks brighter. Use the "Cicada Principle" to make the blink unpredictable with minimal effort.

Nice. I'll have to take a page out of your book: my homepage currently uses JS to animate underwater bubbles and uses 100% CPU.

Strange coincidence, I was thinking about fixing that today...