Many of us have searched for a looooong time to find something like this that works. My coworker found something that almost worked, but failed horribly, so I fixed it and here it is for your viewing/usage enjoyment. Note that it requires jQuery.
… Hmm, apparently our version of wordpress doesn’t like code. I’ve uploaded it though. Take a look: