level |
nodeName |
nodeValue |
nodeType |
title |
0 | #document | null | 9 | dhtml DOM - Dynamic text values |
0 | #comment |
=============================================================================
WARNING: THIS FILE IS AUTO_GENERATED - DO NOT EDIT.
=============================================================================
VIPER SOFTWARE SERVICES
@(#)C:\projects\viper\build\WebContent\samples\javascript/dom_tree_1.html 2.00 2019/04/27
Copyright 1998-2019 by Viper Software Services
All rights reserved.
This software is the confidential and proprietary information
of Viper Software Services. ("Confidential Information"). You
shall not disclose such Confidential Information and shall use
it only in accordance with the terms of the license agreement
you entered into with Viper Software Services.
@version 2.0, 2019/04/27
@note
=============================================================================
WARNING: THIS FILE IS AUTO_GENERATED - DO NOT EDIT.
=============================================================================
| 8 | undefined |
1 | html | null | 10 | undefined |
2 | HTML | null | 1 | |
2 | HEAD | null | 1 | |
2 | #text |
| 3 | undefined |
3 | TITLE | null | 1 | |
3 | #text |
dhtml DOM - Dynamic text values
| 3 | undefined |
4 | #text |
| 3 | undefined |
5 | META | null | 1 | |
6 | #text |
| 3 | undefined |
7 | META | null | 1 | |
8 | #text |
| 3 | undefined |
9 | META | null | 1 | |
10 | #text |
| 3 | undefined |
11 | META | null | 1 | |
12 | #text |
| 3 | undefined |
13 | META | null | 1 | |
14 | #text |
| 3 | undefined |
15 | META | null | 1 | |
16 | #text |
| 3 | undefined |
17 | META | null | 1 | |
18 | #text |
| 3 | undefined |
19 | LINK | null | 1 | |
20 | #text |
| 3 | undefined |
21 | LINK | null | 1 | Yellow |
22 | #text |
| 3 | undefined |
23 | LINK | null | 1 | Blue |
24 | #text |
| 3 | undefined |
25 | LINK | null | 1 | |
26 | #text |
| 3 | undefined |
27 | SCRIPT | null | 1 | |
27 | #text |
var rowno = 1;
function initialize() {
if (document == null) {
alert("run.document == null.");
return;
}
var table = document.getElementById("theTable");
if (table == null) {
alert("run.theTable not found.");
return;
}
showNode(0, table, document);
}
function showNode(depth, table, node) {
if (depth == null) {
alert("showNode.depth == null.");
return;
}
if (table == null) {
alert("showNode.table == null.");
return;
}
if (node == null) {
alert("showNode.node == null.");
return;
}
if (node == table) {
return;
}
// Insert row into table
var colno = 0;
var row = table.insertRow(rowno++);
row.insertCell(colno++).appendChild(document.createTextNode(depth));
row.insertCell(colno++).appendChild(document.createTextNode(node.nodeName));
row.insertCell(colno++).appendChild(document.createTextNode(node.nodeValue));
row.insertCell(colno++).appendChild(document.createTextNode(node.nodeType));
row.insertCell(colno++).appendChild(document.createTextNode(node.title));
var nodes = node.childNodes;
if (nodes == null) {
return;
}
for (var i = 0; i < nodes.length; i++) {
var child = nodes.item(i);
showNode(depth++, table, child);
}
}
| 3 | undefined |
28 | #text |
| 3 | undefined |
29 | SCRIPT | null | 1 | |
29 | #text |
var tag4 = document.getElementById("html4object");
tag4.setAttribute("width", window.innerWidth);
tag4.setAttribute("height", 1024);
var tag5 = document.getElementById("html5object");
tag5.setAttribute("width", window.innerWidth);
tag5.setAttribute("height", 1024);
| 3 | undefined |
30 | #text |
| 3 | undefined |
3 | #text |
| 3 | undefined |
4 | BODY | null | 1 | |
4 | #text |
| 3 | undefined |
5 | TABLE | null | 1 | |
5 | #text |
| 3 | undefined |
6 | TBODY | null | 1 | |
6 | TR | null | 1 | |
6 | #text |
| 3 | undefined |
7 | TD | null | 1 | |
7 | #text |
| 3 | undefined |
8 | DIV | null | 1 | |
8 | #text |
| 3 | undefined |
9 | IMG | null | 1 | |
10 | #text |
| 3 | undefined |
9 | #text |
| 3 | undefined |
10 | DIV | null | 1 | |
10 | #text |
Current location:
| 3 | undefined |
11 | A | null | 1 | |
11 | #text | Home | 3 | undefined |
12 | #text |
| 3 | undefined |
13 | A | null | 1 | |
13 | #text | Javascript | 3 | undefined |
14 | #text |
| 3 | undefined |
15 | A | null | 1 | |
15 | #text | Dom_Tree_1.Xml | 3 | undefined |
16 | #text |
| 3 | undefined |
11 | #text |
| 3 | undefined |
8 | #text |
| 3 | undefined |
7 | #text |
| 3 | undefined |
8 | TR | null | 1 | |
8 | #text |
| 3 | undefined |
9 | TD | null | 1 | |
9 | #text |
| 3 | undefined |
10 | DIV | null | 1 | |
10 | #text | Software | 3 | undefined |
11 | #text |
| 3 | undefined |
12 | UL | null | 1 | |
12 | #text |
| 3 | undefined |
13 | LI | null | 1 | |
13 | DIV | null | 1 | |
13 | SPAN | null | 1 | |
14 | #text | Installation Tool | 3 | undefined |
14 | #text |
| 3 | undefined |
15 | LI | null | 1 | |
15 | DIV | null | 1 | |
15 | SPAN | null | 1 | |
16 | #text | Database DAO Tool | 3 | undefined |
16 | #text |
| 3 | undefined |
17 | LI | null | 1 | |
17 | DIV | null | 1 | |
17 | SPAN | null | 1 | |
18 | #text | Database (VOME) Viewer | 3 | undefined |
18 | #text |
| 3 | undefined |
19 | LI | null | 1 | |
19 | DIV | null | 1 | |
19 | SPAN | null | 1 | |
20 | #text | Packets Parser/Viewer | 3 | undefined |
20 | #text |
| 3 | undefined |
21 | LI | null | 1 | |
21 | DIV | null | 1 | |
21 | SPAN | null | 1 | |
22 | #text | Translation (JEXL) Tool (IN PROGRESS) | 3 | undefined |
22 | #text |
| 3 | undefined |
23 | LI | null | 1 | |
23 | DIV | null | 1 | |
23 | SPAN | null | 1 | |
24 | #text | Mapping Projection | 3 | undefined |
24 | #text |
| 3 | undefined |
13 | #text |
| 3 | undefined |
14 | DIV | null | 1 | |
14 | #text | Blogs | 3 | undefined |
15 | #text |
| 3 | undefined |
16 | UL | null | 1 | |
16 | #text |
| 3 | undefined |
17 | LI | null | 1 | |
17 | DIV | null | 1 | |
17 | #text | Blogs (IN PROGRESS) | 3 | undefined |
18 | #text |
| 3 | undefined |
17 | #text |
| 3 | undefined |
18 | DIV | null | 1 | |
18 | #text | Samples | 3 | undefined |
19 | #text |
| 3 | undefined |
20 | UL | null | 1 | |
20 | #text |
| 3 | undefined |
21 | LI | null | 1 | |
21 | DIV | null | 1 | |
21 | #text | CSS | 3 | undefined |
22 | #text |
| 3 | undefined |
23 | LI | null | 1 | |
23 | DIV | null | 1 | |
23 | #text | HTML | 3 | undefined |
24 | #text |
| 3 | undefined |
25 | LI | null | 1 | |
25 | DIV | null | 1 | |
25 | #text | JavaScript | 3 | undefined |
26 | #text |
| 3 | undefined |
27 | LI | null | 1 | |
27 | DIV | null | 1 | |
27 | #text | SVG | 3 | undefined |
28 | #text |
| 3 | undefined |
29 | LI | null | 1 | |
29 | DIV | null | 1 | |
29 | #text | Object | 3 | undefined |
30 | #text |
| 3 | undefined |
21 | #text |
| 3 | undefined |
22 | DIV | null | 1 | |
22 | #text | Online Tools | 3 | undefined |
23 | #text |
| 3 | undefined |
24 | UL | null | 1 | |
24 | #text |
| 3 | undefined |
25 | LI | null | 1 | |
25 | DIV | null | 1 | |
25 | #text | Plotting Calculator | 3 | undefined |
26 | #text |
| 3 | undefined |
27 | LI | null | 1 | |
27 | DIV | null | 1 | |
27 | #text | Database Viewer (In Progress) | 3 | undefined |
28 | #text |
| 3 | undefined |
29 | LI | null | 1 | |
29 | DIV | null | 1 | |
29 | #text | Dictionary | 3 | undefined |
30 | #text |
| 3 | undefined |
31 | LI | null | 1 | |
31 | DIV | null | 1 | |
31 | #text | Message Digest Tool | 3 | undefined |
32 | #text |
| 3 | undefined |
33 | LI | null | 1 | |
33 | DIV | null | 1 | |
33 | #text | XML Validation | 3 | undefined |
34 | #text |
| 3 | undefined |
35 | LI | null | 1 | |
35 | DIV | null | 1 | |
35 | #text | XPath Exerciser | 3 | undefined |
36 | #text |
| 3 | undefined |
37 | LI | null | 1 | |
37 | DIV | null | 1 | |
37 | #text | XSLT Translator | 3 | undefined |
38 | #text |
| 3 | undefined |
25 | #text |
| 3 | undefined |
26 | DIV | null | 1 | |
26 | #text | Online Network Tools | 3 | undefined |
27 | #text |
| 3 | undefined |
28 | UL | null | 1 | |
28 | #text |
| 3 | undefined |
29 | LI | null | 1 | |
29 | DIV | null | 1 | |
29 | SPAN | null | 1 | |
30 | #text | Protocols Table | 3 | undefined |
30 | #text |
| 3 | undefined |
31 | LI | null | 1 | |
31 | DIV | null | 1 | |
31 | SPAN | null | 1 | |
32 | #text | Mac Address Table | 3 | undefined |
32 | #text |
| 3 | undefined |
33 | LI | null | 1 | |
33 | DIV | null | 1 | |
33 | SPAN | null | 1 | |
34 | #text | Multicast Address Table | 3 | undefined |
34 | #text |
| 3 | undefined |
35 | LI | null | 1 | |
35 | DIV | null | 1 | |
35 | SPAN | null | 1 | |
36 | #text | IP Location Table | 3 | undefined |
36 | #text |
| 3 | undefined |
37 | LI | null | 1 | |
37 | DIV | null | 1 | |
37 | SPAN | null | 1 | |
38 | #text | City Blocks - IP Location Table - chart.js | 3 | undefined |
38 | #text |
| 3 | undefined |
29 | #text |
| 3 | undefined |
30 | DIV | null | 1 | |
30 | #text | Demos | 3 | undefined |
31 | #text |
| 3 | undefined |
32 | UL | null | 1 | |
32 | #text |
| 3 | undefined |
33 | LI | null | 1 | |
33 | DIV | null | 1 | |
33 | SPAN | null | 1 | |
34 | #text | Education | 3 | undefined |
34 | #text |
| 3 | undefined |
35 | LI | null | 1 | |
35 | DIV | null | 1 | |
35 | #text | Astronomy | 3 | undefined |
36 | #text |
| 3 | undefined |
37 | LI | null | 1 | |
37 | DIV | null | 1 | |
37 | SPAN | null | 1 | |
38 | #text | Sample Web Page | 3 | undefined |
38 | #text |
| 3 | undefined |
39 | LI | null | 1 | |
39 | DIV | null | 1 | |
39 | SPAN | null | 1 | |
40 | #text | Baseball Scorebook | 3 | undefined |
40 | #text |
| 3 | undefined |
33 | #text |
| 3 | undefined |
10 | #text |
| 3 | undefined |
11 | TD | null | 1 | |
11 | #text |
| 3 | undefined |
12 | DIV | null | 1 | |
12 | #text |
| 3 | undefined |
13 | A | null | 1 | |
13 | #text | DOM - Dynamic text values | 3 | undefined |
14 | #text |
| 3 | undefined |
13 | #text |
| 3 | undefined |
14 | DIV | null | 1 | |
14 | #text |
This is a test of all the available DOM properties for any given HTML tag.
| 3 | undefined |
15 | #text |
| 3 | undefined |
16 | #comment | Examples | 8 | undefined |
17 | #text |
| 3 | undefined |
18 | DIV | null | 1 | |
18 | #text |
| 3 | undefined |
20 | #text |
| 3 | undefined |
19 | #text |
| 3 | undefined |
20 | DIV | null | 1 | |
20 | #text |
| 3 | undefined |
21 | PRE | null | 1 | |
21 | #text |
<table border="1" id="theTable" width="100%">
<tbody align="center" valign="top">
<tr valign="top">
<th>level</th>
<th>nodeName</th>
<th>nodeValue</th>
<th>nodeType</th>
<th>title</th>
</tr>
</tbody>
</table>
| 3 | undefined |
22 | #text |
| 3 | undefined |
21 | #text |
| 3 | undefined |
12 | #text |
| 3 | undefined |
13 | #comment | NAVIGATION SIDEBAR - At the left of the page | 8 | undefined |
14 | #text |
| 3 | undefined |
15 | TD | null | 1 | |
15 | #text |
| 3 | undefined |
16 | #comment | HTML Attributes table | 8 | undefined |
17 | #text |
| 3 | undefined |
18 | DIV | null | 1 | |
18 | #text |
dhtml samples
| 3 | undefined |
19 | #text |
| 3 | undefined |
20 | UL | null | 1 | |
20 | #text |
| 3 | undefined |
21 | LI | null | 1 | |
21 | #text |
| 3 | undefined |
22 | A | null | 1 | |
22 | IMG | null | 1 | |
23 | #text | attributes | 3 | undefined |
23 | #text |
| 3 | undefined |
22 | #text |
| 3 | undefined |
23 | LI | null | 1 | |
23 | #text |
| 3 | undefined |
24 | A | null | 1 | |
24 | IMG | null | 1 | |
25 | #text | hide | 3 | undefined |
25 | #text |
| 3 | undefined |
24 | #text |
| 3 | undefined |
25 | LI | null | 1 | |
25 | #text |
| 3 | undefined |
26 | A | null | 1 | |
26 | IMG | null | 1 | |
27 | #text | Shadow Text | 3 | undefined |
27 | #text |
| 3 | undefined |
26 | #text |
| 3 | undefined |
27 | LI | null | 1 | |
27 | #text |
| 3 | undefined |
28 | A | null | 1 | |
28 | IMG | null | 1 | |
29 | #text | sound | 3 | undefined |
29 | #text |
| 3 | undefined |
28 | #text |
| 3 | undefined |
29 | LI | null | 1 | |
29 | #text |
| 3 | undefined |
30 | A | null | 1 | |
30 | IMG | null | 1 | |
31 | #text | css test | 3 | undefined |
31 | #text |
| 3 | undefined |
30 | #text |
| 3 | undefined |
31 | LI | null | 1 | |
31 | #text |
| 3 | undefined |
32 | A | null | 1 | |
32 | IMG | null | 1 | |
33 | #text | dynamic text | 3 | undefined |
33 | #text |
| 3 | undefined |
32 | #text |
| 3 | undefined |
33 | LI | null | 1 | |
33 | #text |
| 3 | undefined |
34 | A | null | 1 | |
34 | IMG | null | 1 | |
35 | #text | dynamic color | 3 | undefined |
35 | #text |
| 3 | undefined |
34 | #text |
| 3 | undefined |
35 | LI | null | 1 | |
35 | #text |
| 3 | undefined |
36 | A | null | 1 | |
36 | IMG | null | 1 | |
37 | #text | dynamic text | 3 | undefined |
37 | #text |
| 3 | undefined |
36 | #text |
| 3 | undefined |
37 | LI | null | 1 | |
37 | #text |
| 3 | undefined |
38 | A | null | 1 | |
38 | IMG | null | 1 | |
39 | #text | check | 3 | undefined |
39 | #text |
| 3 | undefined |
38 | #text |
| 3 | undefined |
39 | LI | null | 1 | |
39 | #text |
| 3 | undefined |
40 | A | null | 1 | |
40 | IMG | null | 1 | |
41 | #text | visibility | 3 | undefined |
41 | #text |
| 3 | undefined |
40 | #text |
| 3 | undefined |
41 | LI | null | 1 | |
41 | #text |
| 3 | undefined |
42 | A | null | 1 | |
42 | IMG | null | 1 | |
43 | #text | window.open | 3 | undefined |
43 | #text |
| 3 | undefined |
42 | #text |
| 3 | undefined |
43 | LI | null | 1 | |
43 | #text |
| 3 | undefined |
44 | A | null | 1 | |
44 | IMG | null | 1 | |
45 | #text | popup window (survey) | 3 | undefined |
45 | #text |
| 3 | undefined |
44 | #text |
| 3 | undefined |
21 | #text |
| 3 | undefined |
16 | #text |
| 3 | undefined |
9 | #text |
| 3 | undefined |
10 | TR | null | 1 | |
10 | #text |
| 3 | undefined |
11 | TD | null | 1 | |
11 | #text |
| 3 | undefined |
12 | DIV | null | 1 | |
12 | #text |
| 3 | undefined |
13 | A | null | 1 | |
13 | #text | Privacy Policy | 3 | undefined |
14 | #text |
-
| 3 | undefined |
15 | A | null | 1 | |
15 | #text | Terms of Service | 3 | undefined |
16 | #text |
-
| 3 | undefined |
17 | A | null | 1 | |
17 | #text | Feedback | 3 | undefined |
18 | #text |
-
| 3 | undefined |
19 | A | null | 1 | |
19 | #text | About | 3 | undefined |
20 | #text |
| 3 | undefined |
21 | BR | null | 1 | |
22 | #text |
© Viper Software Services, 1999-2019
| 3 | undefined |
13 | #text |
| 3 | undefined |
12 | #text |
| 3 | undefined |
11 | #text |
| 3 | undefined |
6 | #text |
| 3 | undefined |