Window.open无法在IE8中运行? [英] Window.open not working in IE8?

查看:95
本文介绍了Window.open无法在IE8中运行?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

这是我正在使用的JavaScript:

This is the JavaScript I'm currently using:

window.open('/modules/mod_oneononechat/chatwindow.php?key='+key+'&color=blue','x'+winName+'x','location=0,status=0,toolbar=0,menubar=0,resizable=0,scrollbars=0,height=375,width=420');

这似乎不适用于IE8。
这是一个适用于所有其他浏览器(包括IE7)的聊天窗口。关于它为什么不能在IE8上工作的任何想法?

This doesn't seem to be working in IE8. It's a chat window that works fine on all other browsers (including IE7). Any ideas as to why it's not working on IE8?

推荐答案

IE8不喜欢窗口名称中的空格。

IE8 doesn't like spaces in the window name.

这篇关于Window.open无法在IE8中运行?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆