问题描述
我一直在设计一个网站,并在大部分测试中使用Safari和Chrome。我只是尝试测试Firefox,并且也顺利进行。
出于某种原因,每个链接都会打开一个新窗口,对于从IE 6到IE 10的每个单独的版本。在地铁IE 10的版本,他们打开新标签。
我唯一的想法是我没有指定target =_ self,但不应该暗示?有没有一个解决方案,而不是增加target =_ self到我的网站的每一个链接? 解决方案
我一直在设计一个网站,并在大部分测试中使用Safari和Chrome。我只是尝试测试Firefox,并且也顺利进行。
出于某种原因,每个链接都会打开一个新窗口,对于从IE 6到IE 10的每个单独的版本。在地铁IE 10的版本,他们打开新标签。
我唯一的想法是我没有指定target =_ self,但不应该暗示?有没有一个解决方案,而不是增加target =_ self到我的网站的每一个链接? 解决方案
谢谢你的所有建议。我能够在物理计算机的IE版本上跳转,而某些链接仍然断开,它们不会在新窗口中打开。
我想这只是一个问题与browserstack.com。但考虑到browserstack是专门设计用于在本地操作系统上测试浏览器的网站,这确实是他们应该考虑的事情。
I've been designing a website and have been using Safari and Chrome for most of the testing. I just tried testing Firefox and that went smoothly too. Leave it to IE to throw in a wrench.
For some reason, every link opens a new window, for every single version from IE 6 to IE 10. In the metro version of IE 10, they open in new tabs.
My only thought is that I didn't specify the target="_self", but shouldn't that be implied? Is there a solution without adding target="_self" to every single link in my website?
Thank you for all your suggestions. I was able to hop on a physical computer's version of IE, and while certain links are still broken, they do not open in new windows.
I guess this is just an issue with browserstack.com. But considering browserstack is a website specifically designed to test browsers on native operating systems, this really is something they should look into.
这篇关于每个版本的IE在新窗口中打开链接的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!