我没有IE%
先试一试上次我给你的代码:fraOption.attachEvent("onmousemove", new Function("fraOption.parentElement.fireEvent('onmouseover')"))然后告诉我

解决方案 »

  1.   

    to wsj(骆驼) 
    这段代码加在什么地方啊???
      

  2.   

    <html>
    <body onload="fraOption.attachEvent("onmousemove", new Function("fraOption.parentElement.fireEvent('onmouseover')"));">
    <style>
    <!--
    ....
      

  3.   

    to wsj(骆驼) 我的HTM文件现在也有一个我自定义的函数在加载时要调用的,<body onLoad="doc_onload()">如果有两个会冲突,我定义的哪个函数就不起作用了,我的那个函数非常重要的(上面代码只是个示范不是真正的).
      

  4.   

    在onmouseout 加入判断鼠标的位置,当 鼠标位置在所画出的层里时不执行收拢操作
    function judge()
    {
      //判断鼠标位置
    //鼠标不在层里 return true
    //否则 return false
    }
    function draw()          //回去
    {         if (judge()){
    clearInterval(pullit)
    drawit=setInterval("drawengine()",50)
    }
    }
      

  5.   

    随便了
    那放在这里吧function drawengine()
    {
    if (document.all&&themenu.pixelLeft>leftboundary)
    themenu.pixelLeft-=5
    else if(document.layers&&themenu.left>leftboundary)
    themenu.left-=5
    else if (window.drawit)
    clearInterval(drawit)
    }
    fraOption.attachEvent("onmousemove", new Function("fraOption.parentElement.fireEvent('onmouseover')"));
    </SCRIPT>
      

  6.   

    wsj(骆驼) :
    我放进去了,可是没什么反映啊,我也不太明白你这段代码的意思。
      

  7.   

    ...
    <BODY onmousemove="check()">
    ...
    <script>
    function check()
    {
        if ( 鼠标的位置在层里面 )
        {
            划出
        }
        else
        {
            划回去
        }
    }
    </script>
    ...