问题描述
问候 -
我有很多网站利用用户产生的弹出窗口
点击链接。没什么特别的 - 这是典型的代码:
< a href =" popup.html" target =" pop_win"
onClick =" msgWindow = window.open('''',''pop_win'',
''resizable = no,width = 600,高度= 300 '')">点击这里< / a>
现在,这与Mozilla,Firefox,Opera完美配合 - 一切都好
除了好老的IE 6.xx(6.0.29,在我的主要上)机)。当我尝试这个
链接IE时,我得到以下错误(在一个小弹出窗口中)。
行:146
字符:1
错误:课程未注册
代码:0
网址:包含上述代码的网页的网址
任何想法是什么问题? IE为何如此胡思乱想?太容易了
只是怪微美元,但当80-90%的用户仍在使用IE / b $ b时,很难忽视。
Greetings -
I have a number of websites that make use of popups spawned by a user
clicking a link. Nothing fancy - here is typical code:
<a href="popup.html" target="pop_win"
onClick="msgWindow=window.open('''',''pop_win'',
''resizable=no,width=600,height=300'')"> click here</a>
Now, this works perfectly with Mozilla, Firefox, Opera - everything
except good old IE 6.xx (6.0.29, on my main machine). When I try this
link with IE, I get the following errors (in a little popup window).
Line: 146
Char: 1
Error: class not registered
Code: 0
URL: URL of the page with the preceding code
Any ideas what the problem is? Why is IE being so cranky? Too easy
just to blame Micro$oft, but when 80-90% of your users are still using
IE, its hard to ignore.
推荐答案
这篇关于奇怪的弹出行为| IE 6.xx与其他所有内容相比的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!