目标='_空白“在新窗口中显示,而不是新的标签,可能吗? [英] Target='_blank' to show in new window, NOT new tab, possible?

查看:104
本文介绍了目标='_空白“在新窗口中显示,而不是新的标签,可能吗?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我怎样才能做到这一点?

How can I do this?

在Firefox中的链接在新标签中打开...我不希望用户必须为此设置自己的浏览器的设置...

In firefox the link opens in a new tab... I don't want users to have to set settings of their browsers for this...

我想弹出出现接触形式,每当用户点击我主页上的接触。

I want a pop-up to appear with contact-form whenever user clicks 'contact' on my main page.

我应该怎么做呢?

推荐答案

您无法控制这一点 - 它是完全由用户代理的自由裁量权;这是一点,毕竟。所有你可以指定该页面在不同的viewpane背景下开了,它是由用户来决定如何你的窗口占用他们的屏幕空间/任务栏列表/使用Alt-Tab快捷键等。

You cannot control this - it's entirely at the discretion of the user-agent; which is the point, after all. All you can specify is that the page be opened in a different viewpane context, and it's up to the user to decide how they want your window to take up their screen space/taskbar list/Alt-Tab shortcuts etc.

其实我想走得更远,并说,如果可能的话,你应该避免开辟一个新的标签/窗口都没有。我知道,我变得有点恼火网站做到这一点的时候,感觉有点笨重和90年代有什么与所有的Ajax和浮动的div和魔力,我们有今天。

In fact I'd go even further and say that if at all possible you should avoid opening up a new tab/window at all. I know that I get a little annoyed when websites do this, and it feels a bit clunky and 1990s what with all the Ajax and floating divs and magic we have nowadays.

这篇关于目标='_空白“在新窗口中显示,而不是新的标签,可能吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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