Hi hope someone can help me with this i want pictures to hide and show when hovering over them.... all divs have the same classes and the pictures it toggles has the same classes aswell example:
<div class="square"><img class = "imagesbw" src="images/image3bw.png" alt="" width="91" height="76">
<img class = "imagescol" src="images/image3.png" alt="" width="91" height="76">
</div>
<div class="square"><img class = "imagesbw" src="images/image3bw.png" alt="" width="91" height="76">
<img class = "imagescol" src="images/image3.png" alt="" width="91" height="76">
</div>
<div class="square"><img class = "imagesbw" src="images/image3bw.png" alt="" width="91" height="76">
<img class = "imagescol" src="images/image3.png" alt="" width="91" height="76">
</div>
<div class="square"><img class = "imagesbw" src="images/image3bw.png" alt="" width="91" height="76">
<img class = "imagescol" src="images/image3.png" alt="" width="91" height="76">
</div>
<div class="square"><img class = "imagesbw" src="images/image3bw.png" alt="" width="91" height="76">
<img class = "imagescol" src="images/image3.png" alt="" width="91" height="76">
</div>
so there a black and white picture above a color picture..i want to mousein over one of them and hid that one to show the one behind...
Heres what i did in jquery
$(document).ready(function() {
$(".imagesbw").mouseover(function(){
$(".imagesbw").hide();
})
$(".imagescol").mouseout(function(){
$(".imagesbw").show();
});
})
Only problem is that there are multiple of them and all of them show and hide at the same time while over one... i just want the one the mouse is over to hide and show and so on....
im new to jquery hope this make sense
Here's a sample of what i want to do under the heading LATEST RELEASES and SNEAKY PEAKS
thanks