Archive for August, 2007

August 30th, 2007

Content Aware Resizing - a new image manipulation technique

Using an algorithm to insert or remove pixels vertically or horizontally, you can stretch and shrink images without distorting the elements in them. This video explains how it's done. Co-inventor of this technology was hired at Adobe... I hope this ...
August 20th, 2007

Nasal Mentos-Coke Experiment

you're probably looking for the video. http://www.ianring.com/mentos-nose.php here is the teaser:
August 15th, 2007

getElementsByClassName unnecessary with Mootools

No more need for the bulky “getElementsByClassName” function. Mootools improved multiple-element filtering in v1.11: Before function getElementsByClassName(className, tag, elm){ var testClass = new RegExp("(^|\\s)" + className + "(\\s|$)"); var tag = tag || "*"; var elm ...
August 11th, 2007

Object doesn’t support this property or method

Debugging Javascript is infuriating. I have a script working OK in Firefox, but it's broken in IE. The error message provided by IE is: "Object doesn't support this property or method" Which object? Which method? The specified line number is a complex little DHTML nugget employing about 7 objects and methods. The lovely thing ...