需要在 ie8 的新标签页中打开链接! [英] Need to open links in new tab in ie8 !

查看:23
本文介绍了需要在 ie8 的新标签页中打开链接!的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个侧边栏(右侧 iframe),当我点击其中的链接时,它会在 IE8 中打开一个新窗口(在 Firefox 中打开一个新选项卡).我需要做什么才能在新选项卡中打开 IE8 中的链接.我已经设置了工具->Internet 选项->设置-> '总是在新标签中打开弹出窗口''当前窗口中的新标签' 打开在新标签中,但仍然不起作用.我的链接很简单,我错过了什么?例如:文本.还有一些网站说要注册 Regsvr32 actxprxy.dll 来解决这个问题,但仍然不起作用.我希望只需单击一下即可使用此功能,没有右键单击-> 在新选项卡中打开"选项.我也希望我不会得到无法改变 ie8 的工作方式"的答案.;)

I have a sidebar (right sided iframe) and when i click on a link in it, it opens a new window in IE8, (in firefox it open a new tab). What do i need to do to open links in IE8 in a new tab. I already set the Tools->Internet Options->Settings-> 'Always open pop-ups in a new tab' and 'A new tab in the current window' open in new tab but still doesn't work. My links are pretty simple, what am i missing ? exemple: text. Also some site are saying to register Regsvr32 actxprxy.dll to fix this problem, still doesn't work. And i want this to work with a simple click, no 'right-click->open in new tab' option. I also hope i won't get the 'can't change how ie8 works' answer. ;)

这是一个测试文件,但仍然无法使用 _blank...

Here is a test file, but still not working with _blank...

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
    <head>
        </head>
    <body>
    <a href="http://www.google.ca" target="_blank">open in new tab</a>
    </body>
</html>

这是我的 ie8 选项卡参数...替代文字 http://db.tt/lMhAs3

Here is my ie8 parameters for tabs... alt text http://db.tt/lMhAs3

对不起,如果都是法语,我稍后会修正语言.

And sorry if it's all in french, i'll fix the language later.

推荐答案

您需要使用 target="_blank" 属性使链接在新窗口或选项卡中打开.链接实际打开的位置取决于浏览器设置.因此,如果您选择了工具">Internet 选项">选项卡式浏览设置">始终在新选项卡中打开弹出窗口",则会在新选项卡中打开一个 target="_blank" 链接.请注意,大多数浏览器默认会在新窗口中打开此类链接.

You need to use the target="_blank" attribute to make links open in a new window or tab. Where the link actually opens is up to the browser settings. So if you have Tools > Internet Options > Tabbed Browsing Settings > "Always open pop-ups in new tabs" selected, a target="_blank" link will open in a new tab. Note that this type of link will open in a new window by default on most browsers.

这篇关于需要在 ie8 的新标签页中打开链接!的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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