Archives for January 2011

You are currently browsing 2 articles posted January 2011.

  • Coding Music

    Published Friday 7th of January 2011

    I like to listen to music when I write code and I think I'm not alone so I thought I'd share my favorite coding albums, songs and artists with you all.

    I find instrumental music is the best to code to as it doesn't interrupt your thoughts the way lyrics can do. That's why I almost exclusively listen to jazz, classical music and soundtracks when I code.

    Some of these albums are not instrumental but in a language I don't understand which is also ok :)

    Obviously I use the absolutely brilliant Spotify so all these albums are available there.

    Be the first to post a comment

  • New jQuery Plug-in

    Published Tuesday 4th of January 2011

    I recently wrote a little plug-in that helps with creating progressively enhanced Google maps.

    The way it works is that you, as a user, create a static Google map using the Google Static Maps API and then simply run the plug-in on a parent-element of said static map which will in turn replace the static map with a dynamic one.

    Setting up a static map is as simple as creating an img element and setting the src attribute to the static map API's URL:

    <img src="http://maps.google.com/maps/api/staticmap?center=59.33961,18.080712&amp;zoom=15&amp;size=440x200&amp;sensor=false&amp;markers=59.33961,18.080712" alt="" />

    Doing it this way assures even users without JavaScript gets a map and you only have to do it once. The plug-in reads the attributes found in the src of the img and generates the JS-map based on those.

    It's still in beta and doesn't support everything but do have a look.

    Be the first to post a comment

Random jQuery Plug-ins

  • Equal Height

    This plug-in makes HTML-elements equal height by adjusting their min-height CSS properties. Of course IE6 has no clue what min-height means so the plu...

    Details

  • Image Zoom

    This plug-in makes links pointing to images open in the "Image Zoom". Clicking a link will zoom out the clicked image to its target-image. Click anywh...

    Details

  • Captcha Refresh

    If you use a so called CAPTCHA-image on your site then you can use this plug-in to allow users to click your CAPTCHA in order to generate a new random...

    Details

More Plug-ins

Recent Comments

Powered by Disqus
Page cached. Loaded in: 0.0065 second(s).
Last DB change: 2012-04-02 11:06:05
Last file change: 2012-04-25 20:30:39
Cache created: 2012-05-18 08:42:24