It sounds like you just need to install a script for doing that. There are plenty of nice ones, like http://www.digitalia.be/software/slimbox2. See if that does what you want.
If you want to keep the hover effect too, you might need some kind of custom script. There will also be some way to do this with CSS, but it's not going to work in all browsers.