Posts by Ran Enoch:
A JavaScript Currency Conversion Script
It turns out that converting random numbers into formatted currency (with dollar signs, commas, and periods) is more difficult in JavaScript than I would have expected. There’s no built-in function for it, and it’s something I run into a lot. The function I wrote has worked well for me on a couple of projects now, so I thought I’d share it with you-all. […]
Shaking Up The Web With CSS3 (How To Make Links Shake)
Did you know it’s possible to make links that shake when you hover on them, with pure CSS3? Nor did I, until today!
So, this is another one of those things to file in the “Totally useless, except for impressing your […]
Cross-Browser Support for HTML5 Placeholder Text in Forms
One of my favorite new additions to forms in HTML5 is the placeholder attribute. I love placeholder text because it can help make large, complex forms easier to navigate. Unfortunately, not every modern browser supports it yet. But I say, let’s use placeholder text NOW, for all browsers that support it, and fake the same functionality for legacy browsers. […]
