suggest you to find a DHTML book or visit the following URL to see the examples:DHTML Properties
http://msdn.microsoft.com/workshop/author/dhtml/reference/properties.asp?frame=true
http://msdn.microsoft.com/workshop/author/dhtml/reference/properties.asp?frame=true
解决方案 »
- 新手的jQuery問題,當使用for時
- js限制textbox输入
- 古怪问题求助 javascript document.execCommand 中 SaveAs 命令保存Web页面中间出现换行问题
- 请问如何才能在页面 弹出文件夹选择窗口?
- 如何在客户端判断某个值里有空格??
- 大家看看这个代码,怎么可以获得数组的值,存成字符串呢?
- 关于数据岛方面的问题
- 用windows.open(xxx.asp?id="111")打开的窗口能控制大小吗??怎么控制?我不用全屏显示
- 高分奉送,select标签指定了multiple属性,用javascript怎样得到所选的每一项呢?
- ---在线等待---遍历显示集合的简单问题?
- 有没有DOM方面的资料呀
- 验证输入网址程序好写吗?
6.innerHeight
7.inerWidth
9.locationbar
10.menubar12.onerror(事件)14.outerHeight
15.outerWidth
16.pageXoffset
17.pageYoffset
1.closed
-- 判断窗口 是否关闭了.如,你先用aa=window.open(...) 打开了窗口,之后就可以用aa.closed 判断.(true/false)
2.defaultStatus
-- 设置或返回默认的status显示信息.
3.document 是javascript的内置对象,也可以被认为是window的对象或是frames的对象。可以这样引用
window.document
window.frames[0].document
4.Frames[n] 数组n是数组中的帧,具体位置由括号里的数字表示。这个数组是当前<frameset>文档中包含的所有<frame> 标记的列表。
5.history 代表客户端历史表。有
history.length 历史清单里所有页面的数量
history.back 去前一个页面
history.forward 去后一个页面
history.go(n) 去第n个页面
6.7.10.14.15都是window.open的参数
8.location 表示制定窗口中显示文档的url。
location.hash 在url前置有#的正文
location.host 主机名:url的端口部分
location.hostname url的主机部分
location.href 转向去那个href的页面
location.pathname url的目录路径部分
location.port url指定的通信端口
location.protocol url指定的服务器协议
location.search 连接到url查询
location.target 目标窗口
location.reload 当前窗口刷新
11.name 所有对象的属性 她的值是name=变量 中这个变量的值
12.onError 事件 在目标对象装入失败或窗口目标文档装入失败时,执行括号里的语句;
onError=location.reload();