I have a list of images that are used as links and at the bottom of each image there is another image to show/hide. So far all the images show at the same time b/c they have the same class so is there any way to get around that? I don't know how to give them all the unique id.
<div id="nav">
<ul>
<li id="one" ><a href="#"><img src="mikesfamilyborder.png" class="first" /><p><img src="mikesfamilybordername.png" class="name"/></p></a></li>
<li id="two"><a href="#" ><img src="bradsfamilyborder.png" class="first" /><p><img src="bradsfamilyname.png" class="name"/></a></p></li>
<li id="three"><a href="#" ><img src="brennerfamilyborder.png" class="first" /><p><img src="ryanbfamilyname.png" class="name"/></a></p></li>
<li id="four"><a href="#" ><img src="ryanfamilyborder.png" class="first" /><p><img src="ryanlfamilyname.png" class="name"/></a></p></li>
<li id="five"><a href="#" ><img src="missydadfamilyborder.png" class="first" /><p><img src="lackeysname.png" class="name"/></a></p></li>
<li id="six"><a href="#" ><img src="libbyfamilyborder.png" class="first" /><p><img src="libbysname.png" class="name"/></a></p></li>
</ul>
<p> Click Picture for Family page</p>
</div>
$('.name').hide();
$(".first").hover(function () {
$(".name").stop().show();
}, function (){
$(".name").stop().hide();
});