Interactive SVG map

I recently needed to present a map on a website so that visitors could choose their region (i.e. a group of countries, which could be arbitrary) before going into the site. After a little playing around, I settled on a solution that uses an SVG map of the world, and used CSS and Javascript to highlight … Continue reading Interactive SVG map

Animated star field on a Javascript canvas

I was watching the film Pixels the other night.  Not the best film ever (by a long way), but it did get me reminiscing about all the cool stuff I programmed when I was a lad.  Back when I made text adventure games and simple animations in QBASIC.  Back when I programmed games on my … Continue reading Animated star field on a Javascript canvas

pShadow – a jQuery extension for gorgeous drop shadows

What's pShadow? pShadow, short for 'paper shadow', is a jQuery extension that adds realistic drop shadows to HTML elements, which works in Internet Explorer (IE8, IE7, IE6 with some clever trickery), Firefox, Chrome, Safari, Opera, and any other modern browser you care to mention.  It's free to download and use, and you can see an … Continue reading pShadow – a jQuery extension for gorgeous drop shadows