<script>
oj = ["a","img","object"];
jQuery(document).bind('mousemove', function(e) {
jQuery("#arrow").css({
top : e.pageY - 10,
left : e.pageX + 35
})
jQuery.each(oj, function(i, val) {
jQuery(val).mouseover(function() {
jQuery("div[id^=\'arrow\']").hide()
});
jQuery(val).mouseout(function() {
jQuery("div[id^=\'arrow\']").show()
})
})
});
</script>
和 html (swf + a)
<object height="90" width="380">
<param name="movie" value="banner.swf">
<param vmode="transparent" value="opaque" name="wmode">
<embed height="90" width="380" vmode="transparent" wmode="opaque" src="banner.swf">
</object>
<a href="index.html">test</a>
<div id="arrow">arrow</div>
当我 mousemove ona tag
是结果隐藏<div id="arrow">arrow</div>
时,但是当 mousemove onobject swf
是结果不是隐藏值<div id="arrow">arrow</div>
时,如何解决?在这里演示我的