parentNode.org

The building blocks of a solid frontend.

The Zen attachment

Posted in Usability, Accessibility, Browsers, CSS, JavaScript by Munter on the January 30th, 2007

This is a small story about the beauty of simple solutions. It is the story about an elaborate problem set where each solution gets more complex, and doesnt really solve the main issue. In the end a stroke of genious solves the problem with only a 16 byte size increase. Keep It Simple Stupid

(more…)

Javascript Browser Detection Revisited

Posted in Browsers, JavaScript by Munter on the July 14th, 2006

You’ve all seen them before. Javascript browser detection scripts. There are extremely large and ugly ones out there, ignoring the fact that browser detection in itself is an ugly thing having to resolve to. Our suggestion is based on not trusting the user agent string delivered by the browser. Instead we use a combination of object detection and bad voodoo to be 100% sure what browser and what version is served. Updated for IE7!

(more…)

Inline ActiveX object activation workaround.

Posted in Internet Explorer, Flash, JavaScript by Chris Benjaminsen on the April 26th, 2006

!! The slution described on this page does not work in IE7 please stay tuned! !!

If you work with ActiveX elements in the browser, you properly already know that these elements now require activation before they can receive keyboard and mouse input. I will in this article shortly describe why Microsoft had to do this change, how Microsoft suggest you solve this issue and finally provide you with my personal solution that allows you to use ActiveX elements inline without requiring activation.

(more…)