There was an oUF raid frame layout released today that has this very feature implemented within the layout.
http://www.wowinterface.com/download...ames.html#info
I'm in the process of looking through it and seeing how add it to the layout I'm using now.