fox与ie的iframe 的document事件
来源:互联网 发布:时时彩源码 免费下载 编辑:程序博客网 时间:2024/06/06 05:08
<div style="width: 100px; height: 100px">main
</div>
<div style="width: 528px; height: 292px">iframe
<iframe src="iframe.htm"></iframe>
</div>
<script>
document.onkeydown = function(){alert(100)};
var iframes = document.getElementsByTagName("iframe");
if ( isIE )
iframes[0].contentWindow.document.onkeydown = function(){alert(200)};
if ( isFox )
iframes[0].contentWindow.onkeydown = function(){alert(200)};
</script>
</div>
<div style="width: 528px; height: 292px">iframe
<iframe src="iframe.htm"></iframe>
</div>
<script>
document.onkeydown = function(){alert(100)};
var iframes = document.getElementsByTagName("iframe");
if ( isIE )
iframes[0].contentWindow.document.onkeydown = function(){alert(200)};
if ( isFox )
iframes[0].contentWindow.onkeydown = function(){alert(200)};
</script>
- fox与ie的iframe 的document事件
- IE下的iframe的onload事件
- 给ie的iframe注册onload事件
- iframe的Document属性与Document属性(Dhtml 一字之差)
- fox与ie事件管理:fox是队列,ie是堆栈
- 谷歌Chrome,火狐Fire fox、IE阻止事件冒泡的兼容方法 -- sanai
- 在IE的document上触发事件问题
- IE的IFRAME漏洞
- IE中设置了document.domain后操作iframe的问题
- IE中document.createElement的iframe无法设置属性name问题
- IE下 iframe子页面document.documentElement报错问题(未指明的错误。)
- div+css学习笔记(IE与fox好多不兼容的问题)
- iframe的onload事件
- iframe的onload事件
- iframe的onreadystatechange事件
- iframe 的事件传递
- iframe的document属性和Document属性是不一样的
- iframe 自适应高度 ,绝对好用。兼容IE和FOX
- web.xml中error-page的元素
- 电子书店(购物车一)
- DataGridView 给每行加上鼠标文本
- Map Reduce - the Free Lunch is not over?
- 通用标签库
- fox与ie的iframe 的document事件
- 核心标签库
- YUV图像格式
- 还是老老实实的用WEB SERVICES吧
- JSP入门初级教程之JSP指令
- 初学对MVC的理解和疑问...
- freemaker 空值
- Oracle11g之实用技术--将数据插入Oracle数据库时如何得到其rowId
- 几个常见的关于日期的问题