开发者

Javascript div popup Not working in IE9 standard but does work in other modes

Having trouble with my site and IE9, if i change the compatability mode to anything other than IE 9 standard my login popup works however when in IE9 standard which is the defult it does not work. I think the best way to look at this is to try it 开发者_JAVA技巧yourself. My Site


I don't have IE9 handy, but a guess would be that it might be falling over due to a JavaScript error: Uncaught TypeError: Cannot set property 'popup' of null. This error is occurring because the point at which you're creating a Popup for popup_4, the DOM element for popup_4 doesn't exist yet.

You could fix that by moving the popup_4 div above the script block that's creating the Popup objects.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜