Hovering Div Shows a Hidden Div - Prototype

Posted by phil on Stack Overflow See other posts from Stack Overflow or by phil
Published on 2010-05-05T23:50:27Z Indexed on 2010/05/05 23:58 UTC
Read the original article Hit count: 144

Filed under:

I have three divs set up in the following way:

<div class="outer-div">
<div class="inner1"></div>
<div class="inner2" style="display:none;"></div>
</div>

I have the second inner div hidden via the inline style. What I am trying to accomplish is that when the outer div, or basically any of the content is hovered over then the inner2 would appear.

I am unfamilar with Prototype and having a terrible time trying to get my head around it. Missing jQuery but this time around Prototype is totally required.

Thanks in advance for any help!!

© Stack Overflow or respective owner

Related posts about prototype