文章详情

  • 游戏榜单
  • 软件榜单
关闭导航
热搜榜
热门下载
热门标签
php爱好者> php文档>ie&firefox如何获取事件属性

ie&firefox如何获取事件属性

时间:2008-08-18  来源:azany

ie通过window.event来访问事件 但firxfox不行,只能通过现场的event来访问 如下例: <html>
<head>

</head>
<body>
<div style="background-color:#cccccc;width:100;align='center'">
<a href="#" onclick="showDiv(event);return false;">test</a>
</div>
<div style="position:absolute" id="floatDiv">
hellow world!
</div>
</body>
<html>
相关阅读 更多 +
排行榜 更多 +
舔狗之路

舔狗之路

休闲益智 下载
实景全景地图

实景全景地图

交通出行 下载
射箭英雄

射箭英雄

休闲益智 下载