IE 8浏览器(onresize)调整大小事件??? [英] IE 8 Browser (onresize) Resize event???
问题描述
全部好,
我刚刚安装了IE 8 Beta 2并注意到resize事件不再被触发了????
I just installed IE 8 Beta 2 and noticed that the resize event is not fired anymore????
if (窗口.attachEvent){
if (window.attachEvent) {
window.attachEvent( " onresize" ; ,ResizeMap)
window.attachEvent("onresize", ResizeMap)
} else {
} else {
window.addEventListener( " resize" ,ResizeMap, false )
window.addEventListener("resize", ResizeMap, false)
};
我在这里缺少什么?我的页面布局中有一个重要的部分,所以任何线索?
What am i missing here?? I'ts an essential part in the layout of my page, so any clue's?
干杯!
推荐答案
I可以加倍。
一个例子: http://www.blackoutrugby.com - 调整窗口大小时,主要内容区域应调整大小。
An example: http://www.blackoutrugby.com - the main content area should resize when the window is resized.
这篇关于IE 8浏览器(onresize)调整大小事件???的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!