主题:显示和隐藏菜单的函数
这样是不是有问题,显示和隐藏的条件都一样?
function mousein1()
{
if(window.event.toElement.id!="menu"&&window.event.toElement.id!= "link")
{
menu1.style.visibilitye="visible";
}
}
function mouseout1()
{
if(window.event.toElement.id!="menu"&&window.event.toElement.id!= "link")
{
menu1.style.visibilitye="hidden";
}
}
function mousein1()
{
if(window.event.toElement.id!="menu"&&window.event.toElement.id!= "link")
{
menu1.style.visibilitye="visible";
}
}
function mouseout1()
{
if(window.event.toElement.id!="menu"&&window.event.toElement.id!= "link")
{
menu1.style.visibilitye="hidden";
}
}