Live demo

The content above embeds the JSFiddle code from here http://jsfiddle.net/hakim/Ht6Ym/. Please check out the “Result” tab and hover over the links to see the JSFiddle in action.