Browser Rendering - Getting Computed Style is Hard
14 Aug 2011
Recently I was looking into how libraries like jQuery get the compute style of an element. I found that in its simplest form, getting computed style is one step:
function getStyle(el, prop) { return el.currentStyle ? el.currentStyle[prop] : // IE document.defaultView.getComputedStyle(el, "")[prop]; }
5 Common Ways to Abuse jQuery
10 Nov 2010
jQuery is great. It is powerful and quick. But with any power comes abuse. Here are some common ways to jQuery is abused.
Element Wrappers in JavaScript
8 Apr 2010
Element wrappers are coming. We are going to see more frameworks using wrappers for JavaScript DOM Elements.
