I have a photo gallery (carousel slideshow style) and I'd like to get it so that anytime someone hovers over one of the images, image-specific content is populated below the image in a separate div. Here is a example of my code:
<div class="window">
<div class="slide">
<img class="p1" src="xxxxxx1.jpg" alt="" aria-haspopup="true" />
<img class="p2" src="xxxxxx2.jpg" alt="" aria-haspopup="true" />
<img class="p3" src="xxxxxx3.jpg" alt="" aria-haspopup="true" />
<img class="p4" src="xxxxxx4.jpg" alt="" aria-haspopup="true" />
</div>
<div id="p1content">
<!--Image-related content-->
</div>
<!--div for content of p2, p3, p4, etc-->
</div>
Could I use CSS display properties with hover to accomplish this? Maybe jQuery? Please let me know your thoughts