js对象集锦.....(几个重要的但大家需要百度的)------------window对象
来源:互联网 发布:linux rpm 路径 编辑:程序博客网 时间:2024/06/10 23:16
javascript windows对象
Represents a browser window or frame. This is the top-level object for eachdocument,Location, andHistory object group(官方英文解释)
主要事件:
- onBlur
- onDragDrop
- onError
- onFocus
- onLoad
- onMove
- onResize
- onUnload
closed : Specifies whether a window has been closed. 窗口是否关闭
defaultStatus : Reflects the default message displayed in the window's status bar. 返回 窗口状态栏信息
document :Contains information on the current document, and provides 方法s for displaying HTML output to the user. 文档对象
frames :An array reflecting all the frames in a window. 窗口所包含的frames对象
history :Contains information on the URLs that the client has visited within a window. 包含浏览器所访问过的url对象集合
innerHeight : Specifies the vertical dimension, in pixels, of the window's content area. 以像素px为单位返回文档区域的高度;
innerWidth :Specifies the horizontal dimension, in pixels, of the window's content area. 以像素px为单位返回文档区域的宽度;
length :The number of frames in the window. 窗口所包含的frames对象长度
location :Contains information on the current URL. 当前url地址对象信息
locationbar :Represents the browser window's location bar. 返回当前浏览器地址栏信息
menubar : Represents the browser window's menu bar. 返回浏览器菜单栏
name :A unique name used to refer to this window. 返回当前窗口的名称
opener :Specifies the window name of the calling document when a window is opened using the open
outerHeight :Specifies the vertical dimension, in pixels, of the window's outside boundary. 返回窗口的外部边界高度(内容区域以外的)
outerWidth :Specifies the horizontal dimension, in pixels, of the window's outside boundary. 返回窗口的外部边界宽度(内容区域以外的)
pageXOffset :Provides the current x-position, in pixels, of a window's viewed page.
pageYOffset :Provides the current y-position, in pixels, of a window's viewed page.
parent :A synonym for a window or frame whose frameset contains the current frame. 当一个frames被包含在父窗口则返回父窗口的名称
personalbar :Represents the browser window's personal bar (also called the directories bar).
scrollbars :Represents the browser window's scroll bars. 浏览器滚动条对象
self :A synonym for the current window.
status :Specifies a priority or transient message in the window's status bar. 状态栏的瞬间信息
statusbar :Represents the browser window's status bar. 状态栏对象
toolbar :Represents the browser window's tool bar.
top :A synonym for the topmost browser window.
window :A synonym for the current window. 当前窗口对象
方法概览:
- js对象集锦.....(几个重要的但大家需要百度的)------------window对象
- JS的window对象
- JS的window对象
- js的window对象
- window对象的几个方法
- 线程对象的几个重要的方法
- jquery的几个重要的对象关系逻辑
- 面向对象的几个重要概念
- 面向对象的几个重要概念
- 几个重要的ndarray对象属性
- Unity GameObject对象的几个重要方法
- live555 几个重要对象的生命周期
- js-window对象的属性
- 关于js的Window对象
- window对象的几个属性和方法
- js对象比较重要的一点
- 【视频】javascript中event对象的几个重要的属性
- JavaScript中几个特殊的对象:window对象、this对象、global对象
- sizeof数据对齐问题
- 关于定时任务的一点思考(二)
- SVN入门及配置使用
- 在win下使用mkisofs
- SQL2000 统计每周,每月,每季,每年的数据
- js对象集锦.....(几个重要的但大家需要百度的)------------window对象
- 预装win7的限量版
- 数据库设计原则
- 一些Objective-C学习资源
- HDU 4010 Query on The Trees [2011 大连网络赛]
- android sdk升级失败
- 磁带驱动器的性能
- Part3:WN RKT技术之(基于NDC)--RSA算法在RKT中的应用
- 返回值给函数的一个参数,并在下次调用函数时候直接使用这个值的一个小例子