链接到目标浏览器窗口 [英] Linking to a Targeted Browser Window

查看:54
本文介绍了链接到目标浏览器窗口的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

链接到目标浏览器窗口


我想在浏览器的

单独浏览器窗口中打开其他网站的参考链接窗口托管我的

自己的网站页面。链接目标保留字_blank

为每个链接打开一个空白的新浏览器窗口,这可能会导致很多打开的浏览器窗口。


没有办法重复使用以前链接的浏览器

窗口并让它在前景中加载新网页

而不是在后台加载它?当它加载到

背景时,用户似乎没有什么事情发生时

他们不知道他们应该在后台浏览器中查看

窗口。


我目前对Link html标签中TARGET属性

的使用的理解如下所示。


链接:

------------------------------------- -

< A HREF =" http://www.site.com/page.html"

TARGET ="窗口ID名称或保留值" >

显示的文字< / A>

-------------------------- -------------

TARGET的保留值:

" _blank"将链接加载到一个新的空白窗口。

" _parent"将链接加载到链接所在的

文档的直接父级。

" _self"将链接加载到同一窗口中。 (默认)

" _top"将链接加载到当前

窗口的整个主体中。


-

randau

美国俄勒冈州


我使用垃圾邮件

收集的电子邮件地址从Google网上论坛上阅读和发布,我不会将其用于其他任何内容。

因此,如果有人想与我联系,请清理并使用

以下垃圾邮件电子邮件地址。


randau2。 ..(at)... proaxis.com

Linking to a Targeted Browser Window

I''d like to open reference links to other web sites in a
separate browser window from the browser window hosting my
own web site pages. The Link Target reserve word "_blank"
opens a blank new browser window for every link, which can
sometimes result in a lot of open browser windows.

Is there no way to "reuse" a previously linked browser
window and have it load the new web page in Foreground
instead of loading it in Background? When it loads in
Background, it appears to users like nothing happened when
they don''t know they should look in the background browser
window.

My current understanding of the use of the TARGET attribute
within Link html tags is shown below.

Link:
---------------------------------------
<A HREF="http://www.site.com/page.html"
TARGET="window ID name or reserved Value">
Displayed Text</A>
---------------------------------------
Reserved Values for TARGET:
"_blank" Loads the link into a new blank window.
"_parent" Loads the link into the immediate parent of the
document the link is in.
"_self" Loads the link into the same window. (default)
"_top" Loads the link into the full body of the current
window.

--
randau
Oregon, USA

I read and post from the Google Groups web site using a Spam
collecting email address that I don''t use for anything else.
So if someone wants to contact me, please cleanup and use
the Spam resistant Email address below.

randau2...(at)...proaxis.com

推荐答案




randau写道:


randau wrote:
我想在托管我自己的网站页面的浏览器窗口的单独浏览器窗口中打开其他网站的参考链接。链接目标保留字_blank
为每个链接打开一个空白的新浏览器窗口,这有时会导致许多打开的浏览器窗口。

没有重用的方式以前链接的浏览器窗口并让它在前景中加载新的网页
而不是在后台加载它?
I''d like to open reference links to other web sites in a
separate browser window from the browser window hosting my
own web site pages. The Link Target reserve word "_blank"
opens a blank new browser window for every link, which can
sometimes result in a lot of open browser windows.

Is there no way to "reuse" a previously linked browser
window and have it load the new web page in Foreground
instead of loading it in Background?




我想你可以使用JavaScript - window.focus,或者其他什么。对于没有启用JavaScript的访客

,_blank可能是一个合理的妥协。


后续收窄。


Thor


-
http:/ /www.anta.net/OH2GDF


2005年5月9日11:10:38 -0700,randau < sp ************** @ yahoo.com>

写道:
On 9 May 2005 11:10:38 -0700, "randau" <sp**************@yahoo.com>
wrote:
有没有办法 ;重用"以前链接的浏览器窗口并让它在前景中加载新网页
而不是在后台加载它?
Is there no way to "reuse" a previously linked browser
window and have it load the new web page in Foreground
instead of loading it in Background?




target =" _foo"

target =" _bar"

target =" _bat"


目标名称中的前导下划线触发器一个新窗口(在大多数

浏览器中),如果您选择另一个具有相同

目标的链接,它将被重复使用。



target="_foo"
target="_bar"
target="_bat"

A leading underscore in the target name triggers a new window (in most
browsers), but it''ll be re-used if you select another link with the same
target.


以前在

alt.html,comp.infosystems。 http://www.authoring.html,microsoft....webdesign.html

randau< sp **** **********@yahoo.com>说:


[f''ups设置为alt.html]
Previously in
alt.html,comp.infosystems.http://www.authoring.html,microsoft....webdesign.html,
randau <sp**************@yahoo.com> said:

[f''ups set to alt.html]
我想在单独的浏览器窗口
I''d like to open reference links to other web sites in a
separate browser window




然后使用浏览器内置的相应措施来实现这一点

(通常按住键盘上的一个键,例如Shift,点击

链接,用鼠标中键点击链接,右键

点击并选择在新窗口中打开链接等。 )。


IOW:


这不是关于你想要什么,而是关于你的访客想要什么[TM]


-

Mark Parnell
http://www.clarkecomputers.com.au

alt.html常见问题解答:: http://html-faq.com/


这篇关于链接到目标浏览器窗口的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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