Home > Web Front-end > JS Tutorial > body text

HTML DOM Viewer_javascript tips

WBOY
Release: 2016-05-16 19:25:51
Original
852 people have browsed it

说明:用来查看DOM的工具,可以当作手册来用,也可以用来Debug,很方便的说
把代码copy到要调试的页面中,浏览时点击DOM Tester链接就会打开DOM查看,双击展开对象,右边的文本框里显示的是属性值,修改文本框会改变对应的属性,用来调试配色什么的还是满方便的说....呵呵
其实代码本身没什么技术含量,核心就是用 for in 语句来取对象的属性而已,要说有什么亮点.....嗯......不知道窗口间的函数调用算不算......
-+-+-+-+-+-+-+-+-+-+偶是传说中的无敌分割线-+-+-+-+-+-+-+-+-+-+
1/21更新
俺这两天在研究兼容性,所以就把代码重写了下,现在支持IE5.0+ & FF 1.5.01
用这个可以明显看出FF与IE的不同,呵呵


[Ctrl+A 全选 注:如需引入外部Js需刷新才能执行]

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template