Show information over image on rollover

Posted by Chris on Stack Overflow See other posts from Stack Overflow or by Chris
Published on 2010-05-03T21:40:01Z Indexed on 2010/05/03 21:48 UTC
Read the original article Hit count: 170

Filed under:
|
|
|
|

I want to be able to show information (HTML basically) over an image when the mouse rolls over the image... I know there is a .hover() jQuery function but am unsure how to use it to get the desired effect.

Ideally when a user hovers over an image it would "grey out" (e.g. layer of 50% opacity black) with some HTML like a title etc etc.

Can someone point me in the right direction or provide sample code

Thanks

© Stack Overflow or respective owner

Related posts about jQuery

Related posts about css