RE: Rounded corners on images, CSS-only

Rounded corners are hot. They have been for a long time and still are. Recently things got a whole lot easier due to the fact that lots of browsers started supporting (their vendor specific prefixed version of) border-radius. One of the problems with it is that border-radius cannot be used on images. Tim Van Damme […]

The lazy programmer at work: _eoo and your Javascript Objects

I admit: I’m a lazy programmer. If there’s anything I can do to reduce code, I’m in. Above that: if there’s anything I can do to avoid mistakes and errors, I’m in too. In order to have less errors/mistakes whilst whipping up some Javascript Objects I’ve created a little trick: the use of the _eoo […]

Accessing data saved in the class property of DOM-elements with jQuery

Use of this plugin is not recommended anymore. Use data-* attributes and $.fn.data instead. This was a possible solution, a long time ago. A few weeks ago former colleague Jurriaan wrote a PrototypeJS extension to accessing data stored within classes of HTML elements. Basically it comes down to assigning extra classes (classes such as gender_male […]

Accuracy of JavaScript Time

John Resig does some extensive tests after noticing some odd behavior in JS speedtests and notes his findings: Effectively these browsers (IE, Opera, Safari, and WebKit Nightly – all on XP/Vista) are only updating their internal getTime representations every 15 milliseconds. This means that if you attempt to query for an updated time it’ll always […]

PS_BRAMUS.TextConvert: PSD2TXT and TXT2PSD for the masses!

What if you could extract all text strings from a PSD file into a TXT file? Sure, it’s possible, thanks to PS_BRAMUS.TextExport, the PSD2TXT script I wrote a few months ago. Now, what if you wanted to do that in the opposite direction and import strings from a TXT file into a PSD file (viz. […]

jQuery.serializeAnything : Serialize anything (and not just forms!)

Code snippet I found somewhere in my archive: jQuery.serializeAnything() is a jQuery Extension that serializes any element you specify, in contrast to jQuery’s builtin serialize() function which is limited to serializing form elements only.