Tag Archives: javascript

Facebook Canvas Auto Height

I was developing a canvas app on Facebook this week for a client, using the new timeline dimensions (810px wide). Annoyingly, Facebook seemed to ignore the height attribute I specified Read More »

Opening links in a new window with jQuery

With the advent of XHTML Strict 1, you can no longer use target=”_blank” on an A tag in your code. The only solution for this is to use Javascript to Read More »

Replacing multiple occurrences of a string in JS

I’m a little disappointed JQuery doesn’t have something uber fancy for this. Something that always catches me out is when trying to replace occurrences of a string, it only replaces Read More »

Geolocation with Google Maps

A while back I wrote a proof of concept for a site which, at its core, allowed people to pick a location on a map. It used the long/lat for Read More »