给你看个代码吧
 var   toLi=event.toElement;   
  if(toLi==obj)   return   false;   
  if(toLi.tagName=="A"   ||   toLi.tagName=="UL")   toLi=toLi.parentElement;   
  if(toLi.children[1])     
  {   
  toLi.children[1].style.display="block";   
  //加上这句可以遮盖其它对象,如select:toLi.insertAdjacentHTML("beforeEnd","<iframe   class='backgroundIframe'></iframe>");   
  toLi.insertAdjacentHTML("beforeEnd","<iframe   class='backgroundIframe'></iframe>");