How do I create buttons like...?

Check out this site: http://www.fluidesign.com
I like how they did their buttons and I’m curious to know how this was done. I assume they used scripting for the motion (since it moves so smoothly) but also I like how a button, once pressed, stays that way until another button is pressed. I’d appreciate any help on how to achieve something similar to this. Thanks!