Monthly Archives: December 2010

jQuery selector Property

Why didnt i notice this a long time ago? It’s been there since 1.3. This property contains a string representing the matched set of elements In code this translates to: $( ‘#foo .bar a’ ).click( function(){ console.log( $( this ).selector … Continue reading

Let TinySrc Handle Your Images for Mobile Devices

Consider this: <img src=”http://i.tinysrc.mobi/http://mysite.com/myimage.png” /> From now on your image is sized (not scaled) to maxwidth of any mobile device known to DeviceAtlas. No need to dish out that 380x420px image to a Nokia 6230 (no bashing intended). Go have … Continue reading