I'm having some difficulty with a mouseOver effect that I am trying to implement. The issue can be seen in the following link: http://jsfiddle.net/4t4nM/1/
Here is the HTML structure I am currently utilizing:
<div class="row">
<div class="large-3 small-6 columns">
<div class="panel">News + Video </div>
</div>
</div>
The functionality I am aiming to achieve involves triggering an animation when hovering over the "large-3 small-6 columns" element, specific to the "panel" div within that particular cell (and not affecting other cells with the same class). Here is the JavaScript code I have been working on:
$( function(){
$('.large-3').mouseenter( function(){
$('.panel').stop().animate({opacity:1});
}).mouseleave( function(){
$('.panel').stop().animate({opacity:0});
})
});
I am struggling to ensure that the mouseover effect only applies to the current cell being hovered over. Additionally, I am facing challenges in incorporating multiple class selectors in the JS script.
Any assistance or guidance on this matter would be greatly appreciated.
This script will ultimately be implemented in the following context: