JavaScript之浏览器对象

window:当前浏览器窗体的。
属性:status、opener、closed
方法:alert()、confirm()、setInterval()、clearInterval()、setTimeout()、clearTimeout()、open()

window对象的其他子对象:document、frames、location、history、screen等

得到窗体的宽度、高度:
document.body.clientWidth

posted on 2013-01-31 09:26  lee0oo0  阅读(136)  评论(0编辑  收藏  举报