把用到它的Html文件贴出来看看

解决方案 »

  1.   

    <body bgcolor="#FFFFFF" text="#000000"><div style="position:absolute; left:0px; top:-30px"><div align=center id="menu01" style="position:absolute; left:150px; top:33px; width:100px; height:19px; z-index:100; background-color: #000099; layer-background-color: #000099; border: 1px none #000000;padding-top:3;cursor:hand;font-size:9pt" onmouseover='stopTimerline();menuItemIn()' onmouseout='runTimerline()'><font color=white>主菜单</div> <div align=center id="item11" style="position:absolute; left:50px; top:55px; width:99px; height:19px; z-index:2; background-color: #0099CC; layer-background-color: #0099CC; border: 1px none #000000; filter:alpha(opacity=0);padding-top:4;cursor:hand;font-size:9pt" 
    onmouseover="this.style.backgroundColor= '#006699';stopTimerline()" 
    onmouseout="this.style.backgroundColor= '#0099cc';runTimerline()">菜单项一</div><div align=center id="item12" style="position:absolute; left:250px; top:77px; width:99px; height:19px; z-index:3; background-color: #0099CC; layer-background-color: #0099CC; border: 1px none #000000; filter:alpha(opacity=0);padding-top:3;cursor:hand;font-size:9pt"
    onmouseover="this.style.backgroundColor='#006699';stopTimerline()" 
    onmouseout="this.style.backgroundColor='#0099cc';runTimerline()">菜单项二</div></body>
      

  2.   

    这是设置下一级菜单位置的方法,
    当鼠标在“菜单项”上时执行'stopTimerline();menuItemIn()‘
    当鼠标离开“菜单项”上时执行''runTimerline()menuItemOut‘
    我看你文件中是执行的“runTimerline()”
    你看是不是写错了------也可能是我错了!
    不知说的对不对,请包含!!!!!!!!
      

  3.   

    我大体上知道了,当鼠标离开时执行 runTimerline() 也就是让菜单离开。
    我不明白的是 
       window.timerlineTimer 这个是什么用法? 
       item11.style.pixelLeft pixelLeft 是什么东西?