var x = window.event.clientX;
  var y = window.event.clientY;
  var x0=document.body.clientWidth;
  var y0=document.body.clientHeight;
  var x1=document.all.Rmenu.clientWidth;
  var y1=document.all.Rmenu.clientHeight;  document.all.Rmenu.style.display='';
  document.all.Rmenu.style.left=(x0-x-4<x1) ? x-x1-4 : x+2;
  document.all.Rmenu.style.top =(y0-y<y1)   ? y-y1-4 : y;//Rmenu 对应着你的菜单层的ID

解决方案 »

  1.   

    在 onmouseover 事件里用 window.event.toElement.innerText 可以得到当前内容。
    window.event.toElement.className  可以得到当前的CSS名等等不一一例举了。
      

  2.   

    在 onmouseover 事件里用 window.event.toElement.innerText 可以得到当前内容。
    window.event.toElement.className  可以得到当前的CSS名等等不一一例举了。
      

  3.   

    在 onmouseover 事件里用 window.event.toElement.innerText 可以得到当前内容。
    window.event.toElement.className  可以得到当前的CSS名等等不一一例举了。