I have list of images, on over on image i want to show some information on that image. And mouseout of the info div, same should disappear. Problem is when mouse moves on child tag of info div it fires mouseout even, which should not. And i am using normal JavaScript.
<div id="pop_div" onmouseout="clearinfo()" >
<img alt="" src="" />
<p>lines of text</p>
</div>
function clearinfo()
{
document.getElementById("pop_div").style.dispaly = "none";
}
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…