My goal is to animate the correct div under each navigation item, rather than all of them with the "navItemUnder" class. You can see exactly what I mean by hovering over a navigation item in this codePen.
I am looking for a solution to target only one line under the specific nav item, while keeping the structure of our HTML intact.
View the animation on codePen: http://codepen.io/celli/pen/bpRLRM
$(".navItem").hover(over, out);
function over(){
TweenMax.to(".navItemUnder", 1, {opacity:1.0, scaleX:1, ease:Expo.easeOut})
}
function out(){
TweenMax.to(".navItemUnder", 1, {opacity:0.0, scaleX:.1, ease:Expo.easeOut})
}