|
DOM Browsing
v1.0 - May 27, 2006
dombrowsing.zip (2k)
DOM Browsing is a client-side script that allows you to browse through the Document Object Model.
It allows you to view all of the objects and properties contained within an HTML document.
Demonstration
Installation
1. Upload the file dombrowsing.js
then link it to your document as a JavaScript include file.
Add the following code between the <head> & </head> tags:
<script language="JavaScript" src="dombrowsing.js"></script>
2. Call the browseDom() function.
Documentation
Function: browseDom()
Description: This function is used to open a new window containing the DOM Browsing page.
browseDom(STARTOBJSTR)
| STARTOBJSTR |
An optional string that specifies the starting object to browse. eg. 'window' or 'document.body'. |
Source Code
dombrowsing.js (3k)
DOM Browsing by Lloyd Hassell
Website: lloydhassell.brinkster.net
Email: lloydhassell@hotmail.com
|