HTML(Open Method)翻译自MSDN
Open Method
Opens a new window and loads the document specified by a given URL.
Navigates the app window to the specified location.
Syntax
语法:var retval = window.open(url, name, features, replace);
Parameters
参数
url [in, optional]
Type: String
类型:字符串类
String that specifies the URL of the document to display. If no URL is specified, a new window with about:blank is displayed.
这个字符串是识别所展示文件的URL,如果没有可识别的URL,就会打开一个about:blank的新页面.
name [in, optional]
Type: String
类型:字符串类
String that specifies the name of the window. This name is used as the value for the TARGET attribute on a form or an anchor element.
这个字符串类是识别窗口的名字.这个名称是用作窗体或锚元素的目标属性的值。
_blank
The url is loaded into a new, unnamed window.
从一个未命名的新窗口打开URL
_parent
The url is loaded into the current frame's parent. If the frame has no parent, this value acts as the value _self.
从现在框架的上级打开,要是没有上级,这个属相就相当于_self
_self
The current document is replaced with the specified url.
当前文档被所指定的URL替代
_top
The loaded url replaces any framesets that might be loaded. If there are no framesets defined, this value acts as the value _self.
加载的URL可能替换框架集任意一个.如果没有定义的框架集,这个属性相当于 _self
features [in, optional]
Type: String
类型:字符串
String that contains a list of items separated by commas. Each item consists of an option and a value, separated by an equals sign (for example, "fullscreen=yes
,toolbar=yes
"). The following values are supported.
字符串,包含由逗号分隔的项列表。每一个项包涵一个选项和一个值,用等号分开(比如:"fullscreen=yes
,toolbar=yes
").后面的值支持同样功能.
channelmode = { yes | no | 1 | 0 }
Specifies whether to display the window in theater mode. The default is no.
指定是否在剧场模式中显示窗口。默认值是没有
Internet Explorer 7. channelmode = { yes | 1 }
overrides height, width, top, and left values. When active, the Navigation Bar is hidden and the Title Bar is visible. The Channel Band is no longer supported in Internet Explorer 7.
Internet explorer 7。channelmode = {yes | 1} 将覆盖高度、 宽度、 上边框和左的值。激活时,隐藏导航栏和标题栏是可见。在 Internet Explorer 7 不再支持通信信道的带宽。
In Internet Explorer 6, channelmode = { yes | 1 }
displays the Channel Band in theater mode.
在 Internet Explore 6中,channelmode = {yes | 1} 在剧场模式中显示通信信道的带宽。
fullscreen = { yes | no | 1 | 0 }
Specifies whether to display the browser in full-screen mode. The default is no. Use full-screen mode carefully. Because this mode hides the browser's title bar and menus, always provide a button or other visual clue to help the user close the window. ALT+F4 closes the new window.
指定是否全屏显示浏览器.默认不全屏.用fullscreen是要小心.因为全屏将隐藏浏览器的标题栏和菜单栏,通常提供一个按钮或者其他可见线索来关闭窗口.ALT+F4关闭新窗口.
Internet Explorer 7. A window in full-screen mode doesn't need to be in theater mode.
Internet explorer 7。在全屏幕模式下的窗口并不需要在影院模式下。
In Internet Explorer 6, a window in full-screen mode must also be in theater mode (channelmode).
在Internet Explorer 6 中,在全屏模式下的窗口也必须在剧场模式 (channelmode)。
width = number
Sets the width of the window in pixels. The minimum value is 250
, and specifies the minimum width of the browsers content area.
设置窗口的宽度,以像素为单位。最小值为 250,并指定浏览器内容区域的最小宽度。
In Internet Explorer 6, the minimum height value is 100
.
在Internet Explorer 6,最小高度值是 100。
height = number
Sets the height of the window in pixels. The minimum value is 150
, and specifies the minimum height of the browser content area.
以像素为单位设置窗口的高度。最小值为 150,并指定浏览器内容区域的最小高度。
In Internet Explorer 6, the minimum height value is 100
.
在Internet Explorer 6,最小高度值是 100。
left = number
Specifies the left position, in pixels. This value is relative to the upper-left corner of the screen. The value must be greater than or equal to 0.
指定的左边的位置,以像素为单位。此值是相对于屏幕的左上角。值必须是大于或等于0。
top = number
Specifies the top position, in pixels. This value is relative to the upper-left corner of the screen. The value must be greater than or equal to 0.
指定的最高的位置,以像素为单位。此值是相对于屏幕的左上角。值必须是大于或等于0。
location = { yes | no | 1 | 0 }
Specifies whether to display the Navigation Bar. The default is yes.
指定是否显示导航栏。默认值为是。
In Internet Explorer 6, location specifies whether to display the Address Bar.
在Internet Explorer 6,位置指定是否显示地址栏。
The Back, Forward, and Stop commands are now located in the Navigation Bar.
后面,向前,和停止命令在导航栏中显示。
In Internet Explorer 6, the navigation commands were located in the toolbar.
在Internet Explorer 6,导航命令位于工具栏。
menubar = { yes | no | 1 | 0 }
Specifies whether to display the Menu Bar. The default is yes.
指定是否显示菜单栏。默认值为是。
Internet Explorer 7. By default, the menu bar is hidden unless revealed by the ALT key. menubar = { no | 0 }
prohibits the Menu Bar from appearing even when the ALT key is pressed.
Internet explorer 7。默认情况下,菜单栏被隐藏,除非显示的 ALT 键。菜单栏 ={no | 0} 禁止菜单栏甚至出现按下 ALT 键时。
The combination of menubar = { no | 0 }
and toolbar = { no | 0 }
hides the toolbar and disables any additional third-party user interfaces.
菜单栏的组合 = {no | 0} 和工具栏 = {no | 0} 隐藏工具栏并禁用任何其他第三方用户接口。
resizable = { yes | no | 1 | 0 }
Specifies whether to display resize handles at the corners of the window. The default is yes.
指定是否显示在窗口角的大小调整控柄。默认值为是。
Internet Explorer 7. resizable = { no | 0 }
disables tabs in a new window.
Internet explorer 7。可调整大小 = {no | 0} 禁用在新窗口中的选项卡。
scrollbars = { yes | no | 1 | 0 }
Specifies whether to display horizontal and vertical scroll bars. The default is yes.
指定是否显示水平和垂直滚动条。默认值为是。
status = { yes | no | 1 | 0 }
Specifies whether to add a Status Bar at the bottom of the window. The default is yes.
指定是否要在窗口的底部添加一个状态栏。默认值为是。
toolbar = { yes | no | 1 | 0 }
Specifies whether to display the browser Command Bar, making buttons such as Favorites Center, Add to Favorites, and Tools available. The default is yes.
指定是否要显示浏览器命令栏,制作等收藏中心,添加到收藏夹按钮,以及可用工具。默认值为是。
The combination of menubar = { no | 0 }
and toolbar = { no | 0 }
turns off the toolbar and any additional third-party user interfaces.
菜单栏工具栏的组合menubar = {no | 0} 和toolbar = {no | 0} 关闭工具栏和任何其他第三方用户接口。
In Internet Explorer 6, the toolbar sFeatures specifies whether to display the browser toolbar, making buttons such as Back, Forward, and Stop available.
在Internet Explorer 6 中,工具栏 sFeatures 指定是否显示浏览器工具栏上,制作按钮如后退、 前进、 并停止可用。
HTML(Open Method)翻译自MSDN的更多相关文章
- Creating Icon Overlay Handlers / 创建图标标记 Handlers (翻译自MSDN) / VC++, Windows, DLL, ATL, COM
创建图标标记 Handlers Creating Icon Overlay Handlers 图标标记是放在代表着某个 Shell 对象的图标之左下角的小图像.它们通常被加在一个对象的图标的身上来提供 ...
- AOP(面向切面编程,翻译自MSDN)
目录 AOP的概念 静态实现AOP .Net 框架实现AOP(动态代理实现AOP) 动态代理AOP实现方法过滤 AOP参考 本文翻译自 :https://msdn.microsoft.com/en-u ...
- 静态实现AOP(翻译自MSDN)
在.net实现AOP 本文通过一个简单的例子实现静态AOP.改例子主要实现客户的增删改查,突然有一天你的老板需要在程序上跟踪每个方法操作的运行日志. 主要分为5个步骤. 第一步:创建接口IReposi ...
- 【原创翻译】链接DLL至可执行文件---翻译自MSDN
可执行文件.exe链接(或加载)DLL有以下两种形式: 隐式链接 显式链接 隐式链接是指静态加载或在程序加载时动态链接. 通过隐式链接,在使用DLL时,可执行文件链接到一个由生成DLL的人提供的导入函 ...
- HTML5之appcache语法理解/HTML5应用程序缓存/manifest缓存文件官方用法翻译
习惯性的贴几个参考链接: W3School-HTML 5 应用程序缓存 官方 MDN window.applicationCache 接口文档 官方 MDN 用法示例 看所有的教程不如直接看最原始的官 ...
- 翻译:JVM虚拟机规范1.7中的运行时常量池部分(三)
4.4.7. The CONSTANT_Utf8_info Structure The CONSTANT_Utf8_info structure is used to represent consta ...
- Go 语言官方包函数中文翻译
Go官方包函数中文翻译 *** import "strings" func Join(a []string, sep string) string Join concatenate ...
- exception disappear when forgot to await an async method
https://github.com/aspnet/AspNetWebStack/issues/235 https://stackoverflow.com/questions/5383310/catc ...
- 定时Job在IIS中潜在危险-IIS 定期回收
引言 有时我们会在IIS中启用一些定时服务,但是你必须清楚IIS会定期回收Asp.net的应用程序的.首先来看IIS啥时候回收APPDomain. APPDomain 回收时机 There are ...
随机推荐
- paper 27 :图像/视觉显著性检测技术发展情况梳理(Saliency Detection、Visual Attention)
1. 早期C. Koch与S. Ullman的研究工作. 他们提出了非常有影响力的生物启发模型. C. Koch and S. Ullman . Shifts in selective visual ...
- SpringMVC配制全局的日期格式
SpringMVC文件配制: <mvc:annotation-driven> <!-- 处理responseBody 里面日期类型 --> <mvc:message-co ...
- 【cruch bang】中切换成左手鼠标
在“右键”菜单->settings->Edit autostart启动的geany编辑器中,最后加内容: xmodmap -e 'pointer = 3 2 1'
- libevent使用<一> libevent导入项目
最近做mysql代理层读写分离,发现在C,C++领域libevent很厉害的样子. 1. 安装libevent linux下源码安装或者直接yum安装. libevent只是一套对一些底层技术的封装, ...
- [转]Windows配置Git
原文地址:http://blog.csdn.net/exlsunshine/article/details/18939329 1.从git官网下载windows版本的git:http://git-sc ...
- ecshop后台增加模块菜单详细教程(图)
我们有时候针对ecshop如此开发,想在后台加一些菜单,最模板以前提供过教程,但是并非很系统,今天最模板抛砖引玉图文教程告诉大家:如何在ecshop后台增加模块菜单! 首先需要修改四个文件:inc_p ...
- HDU 1402:A * B Problem Plus
A * B Problem Plus Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Other ...
- YTU 2991: 链表节点逆置(线性表)
2991: 链表节点逆置(线性表) 时间限制: 1 Sec 内存限制: 128 MB 提交: 14 解决: 6 题目描述 设计一个算法,将一个带头节点的数据域依次为a1,a2,-,an(n> ...
- 计算机学院大学生程序设计竞赛(2015’12)The Country List
The Country List Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others) ...
- MVC设计模式((javaWEB)在数据库连接池下,实现对数据库中的数据增删改查操作)
设计功能的实现: ----没有业务层,直接由Servlet调用DAO,所以也没有事务操作,所以从DAO中直接获取connection对象 ----采用MVC设计模式 ----采用到的技术 .MVC设计 ...