HTML
<div class="up-score">up-score</div>
<div class="vframe">vframe</div>
<div class="lol">lol</div>
<hr>
<div class="up-score">up-score</div>
<div class="vframe">vframe</div>
<div class="lol">lol</div>
<hr>
<div class="up-score">up-score</div>
<div class="vframe">vframe</div>
<div class="lol">lol</div>
css
.lol { display: none; }
Jquery
var timer
$('.up-score').mouseenter(function(){clearTimeout(timer);$('.vframe').parent().find('.lol').fadeIn(1000)})
$('.up-score').mouseout(function(){timer = setTimeout(function(){$('.vframe').parent().find('.lol').fadeOut(1000);}, 500);})
Right now when I hover over any up-score div it shows all the lol's divs. I just want to affect only the lol div and is within the <hr>
Use
next()
in jqueryFiddle