郁闷了

thriller123 2004-05-05 09:34:57
假设有一个框架网页分为A,B两个框架,如果我A框架网页里做了一个超链接,那么被链接的网页只是显示在A框架里,但我想要的是把被链接的网页显示在整个窗口里,大家有什么好办法吗?
...全文
60 3 打赏 收藏 转发到动态 举报
写回复
用AI写文章
3 条回复
切换为时间正序
请发表友善的回复…
发表回复
dullwolf 2004-05-05
  • 打赏
  • 举报
回复
TARGET Attribute | target Property

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

Sets or retrieves the window or frame at which to target content.

What's New for Microsoft® Internet Explorer 6
As of Internet Explorer 6, the _media value of the v parameter of this property specifies that a linked document loads in the HTML content area of the Media Bar.

Syntax

HTML <ELEMENT TARGET = sTarget... >
Scripting object.target [ = sTarget ]

Possible Values

sTarget String that specifies or receives one of the following values.name The name of the target window or frame.
_blank Load the linked document into a new blank window. This window is not named.
_media Load the linked document into the HTML content area of the Media Bar. Available in Internet Explorer 6 or later.
_parent Load the linked document into the immediate parent of the document the link is in.
_search Load the linked document into the browser search pane. Available in Internet Explorer 5 or later.
_self Default. Load the linked document into the window in which the link was clicked (the active window).
_top Load the linked document into the topmost window.


The property is read/write. The property has a default value of _self.

Expressions can be used in place of the preceding value(s), as of Microsoft® Internet Explorer 5. For more information, see About Dynamic Properties.

Remarks

If there is no existing window or frame with the same name as specified in the target, a new window is opened with a name equal to the value of the target.

The window name is an optional argument in the open scripting method.

Example

This example uses the TARGET attribute to specify a link that loads the page into the topmost frame of the current frameset.

<A HREF="newpage.htm" TARGET="_top">Go to New Page.</A>
Standards Information

This property is defined in HTML 4.0 and is defined in World Wide Web Consortium (W3C) Document Object Model (DOM) Level 1 .

Applies To

[ Object Name ]
Platform Version
Win16:
Win32:
Windows CE:
Unix:
Mac:
Version data is listed when the mouse hovers over a link, or the link has focus.
A, AREA, BASE, FORM, LINK
Move the mouse pointer over an element in the Applies To list to display availability information for the listed platforms. Internet Explorer does not expose this member on platforms that are not listed.


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

© 2003 Microsoft Corporation. All rights reserved.
mao1997 2004-05-05
  • 打赏
  • 举报
回复
<a href="http://www.baidu.com" target="_parent">index</a>
wanghr100 2004-05-05
  • 打赏
  • 举报
回复
<a href="http://www.baidu.com" target="_top">index</a>
代码下载地址: https://pan.quark.cn/s/8236006bf1f9 Word精灵插件:一款用于增强Microsoft Word功能的辅助软件,能够将多种复杂功能转化为插件形式,并在软件状态栏中进行展示,涵盖诸如批注管理、表格处理、内容替换、文档拆分、数学运算、字符提取、批量重命名等多项实用工具。在工作环境中应用该插件能够显著降低工作强度,提升操作效率。Word精灵插件兼容32位与64位的Microsoft Word版本,支持Word 2007、2010、2013以及Word 2016操作系统,但不适用于Word 2003版本。此外,该插件同样支持WPS办公软件。 功能概述: 1、表格自动调整宽度:自动优化文档内所有表格的显示宽度。 2、批量导出批注信息:将文档内所有批注集中导出到Excel工作簿中。 3、表格至Excel多表导出:在将表格导出到Excel时,每个Word表格将独立存放在一个工作表中,Word文档内的表格数量与Excel生成的工作表数量相等,并附有工作表目录。 4、表格至Excel单表导出:将文档内所有表格整合后导出到一个Excel工作表中,多个表格将按顺序排列于同一工作表内。 5、统一图片分辨率:对指定文件夹内的所有图片进行分辨率标准化处理。 6、图片批量缩放:依据设定比例对图片进行放大或缩小,支持按百分比调整。 7、图片批量插入:将图片批量插入到当前文档,可选择图片名称的展示形式,并设定图片的高度。 8、图片格式统一转换:将指定文件夹内的所有图片转换为相同的文件格式。 9、内容批量替换:对文档内容、页眉及页脚执行批量替换操作,例如将数字1替换为字母A,数字2替换为字母B,数字3替换为字母C等。 10、图片批量导出:将文档内所...

87,986

社区成员

发帖
与我相关
我的任务
社区描述
Web 开发 JavaScript
社区管理员
  • JavaScript
  • 无·法
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧