新页面在新窗口中打开,而不是Firefox中的新选项卡 [英] New page opens in new window, not new tab in Firefox

查看:126
本文介绍了新页面在新窗口中打开,而不是Firefox中的新选项卡的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个由两个框架组成的网站。其中一个框架打开一个新的文件ala ...

$ p $ var myWin = open(,ImgWindow,status =是,工具栏=是,菜单栏=是,滚动条=是);
myWin.document.open();

我的Mozilla Firefox 3.0.19配置为在标签中打开新页面,而不是在窗口中打开。



Firefox在新窗口中打开文档,而不是选项卡。 IE和Opera在一个新的选项卡中打开文档。

有什么可以使文档在Firefox的新选项卡中打开的吗?

解决方案



使用默认设置,如果您在不使用第三个参数的情况下调用window.open(),firefox将以新的方式打开窗口标签,否则在一个新的窗口。


I have a site consisting of a frameset with two frames. One of the frames opens a new document ala...

var myWin= open("","ImgWindow","status=yes,toolbar=yes,menubar=yes,scrollbars=yes");
  myWin.document.open();

My Mozilla Firefox 3.0.19 is configured to open new pages in tabs, not windows.

Firefox opens the document in a new Window, not a tab. IE and Opera open the document in a new tab.

Is there something I can do to cause the document to open in a new tab in Firefox?

解决方案

This page might help you.

With default settings, if you invoke window.open() without the third parameter, firefox will open the window in a new tab, otherwise in a new window.

这篇关于新页面在新窗口中打开,而不是Firefox中的新选项卡的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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