I have a goal <div class="outter"> and another <div class="inner"> as tooltip,
<div class="outter"></div>
<div class="inner"></div>
in default the tooltip is invisible , when I mouse hover on the "outter",the "inner" will appear in the "outter" one ,until mouse out the "outter" , the "inner" will disppear.
$(".outter").hover(function(){
var $top=$(".outter").offset().top;
var $left=$(".outter").offset().left;
$('.inner').css({'top':$top+10+'px','left':$left+10+'px'}).show();
},function(){
$('.inner').hide();
})
but when the mouse have not move out from the "outter" ,at the same time mouse on the "inner" in "outter",the problem happened: the inner one flashed, not stable
So what's wrong with the case ?
I want the inner one would stable ,not the flashed.Please help,thank you:)