I know this may have a simple solution but I’m a Jquery noob. Please, help.
How can I show a DIV on another DIV on mouseover?
Example, I have this:
<div class="box"> Info about a game </div>
I want to “overlay” another div on the div “box”
<div class="overlay"> Play </div>
How can I do that with JQuery?
Sorry and thanks in advance!
If I understand you correctly, you want to only display
overlaywhen hovering overbox.You could use CSS psuedo
:hover:http://jsfiddle.net/Curt/BC4eY/
If you would prefer to use animation/jquery to show/hide the
overlayyou can use the following:http://jsfiddle.net/Curt/BC4eY/2/