Updated with jsfiddle example