我没有IE%
先试一试上次我给你的代码:fraOption.attachEvent("onmousemove", new Function("fraOption.parentElement.fireEvent('onmouseover')"))然后告诉我
先试一试上次我给你的代码:fraOption.attachEvent("onmousemove", new Function("fraOption.parentElement.fireEvent('onmouseover')"))然后告诉我
解决方案 »
- 快,请帮我下,谢谢大哥。。。
- FCKeditor 显示不出来!!
- jHtmlArea HTML编辑器问题
- 请问img标签由position:static变成position:absolute的时候怎么设它的left和top属性呢?
- jquery中方法名冲突
- 请问如何去掉firefox右上角的关闭"X"
- HTA 是啥意思?详细解释一下
- 一个很菜的问题……
- 急~~~急~~~~~~怎么在网页上动态生成表格~~~~~~~~~~各位大哥帮忙啊~~~~~小弟刚进公司就遇棘手问题
- 急:以下关于JAVASCRIPT的2维数组的代码到底错在哪里?
- 请问javascript把字符串变量转换成数字变量的函数是什么?取得一个字符串的字节数怎么办?有没有函数,请给出代码?
- javascript问题
这段代码加在什么地方啊???
<body onload="fraOption.attachEvent("onmousemove", new Function("fraOption.parentElement.fireEvent('onmouseover')"));">
<style>
<!--
....
function judge()
{
//判断鼠标位置
//鼠标不在层里 return true
//否则 return false
}
function draw() //回去
{ if (judge()){
clearInterval(pullit)
drawit=setInterval("drawengine()",50)
}
}
那放在这里吧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>
我放进去了,可是没什么反映啊,我也不太明白你这段代码的意思。
<BODY onmousemove="check()">
...
<script>
function check()
{
if ( 鼠标的位置在层里面 )
{
划出
}
else
{
划回去
}
}
</script>
...