标题:JS求助,一直没弄明白
取消只看楼主
yanlinfeng62
Rank: 1
等 级:新手上路
帖 子:1
专家分:0
注 册:2011-9-9
结帖率:0
已结贴  问题点数:0 回复次数:0 
JS求助,一直没弄明白
function hh(s)
{ alert(s);
}
html:<div style="width:150px;height:150px;position: relative;border:#000 groove 1px; margin:0 auto;">
<div onmouseover=hh("sss/fff.l") style="width:100px;height:100px;position:absolute; z-index:1; left:0;top:20px; border:#063 dashed 1px">
<div id='ssh'>dd</div>
</div><img src="map.jpg" width="150px" height="150px" />
</div>

这段代码在FF google上都没问题 在IE上却有时候出现鼠标移上去之后不执行hh(s)函数,但是去掉<img>标签 就没问题
麻烦高手解答下。
搜索更多相关主题的帖子: function html google 
2011-09-09 12:18



参与讨论请移步原网站贴子:https://bbs.bccn.net/thread-349548-1-1.html




关于我们 | 广告合作 | 编程中国 | 清除Cookies | TOP | 手机版

编程中国 版权所有,并保留所有权利。
Powered by Discuz, Processed in 0.233788 second(s), 8 queries.
Copyright©2004-2025, BCCN.NET, All Rights Reserved