/[suikacvs]/www/2005/object-viewer/tree-old.html
Suika

Contents of /www/2005/object-viewer/tree-old.html

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.1 - (show annotations) (download) (as text)
Tue Apr 26 12:21:21 2005 UTC (19 years, 7 months ago) by wakaba
Branch: MAIN
File MIME type: text/html
New

1 <!DOCTYPE html SYSTEM>
2 <html xmlns="http://www.w3.org/1999/xhtml">
3 <head>
4 <title lang="en">Object Viewer</title>
5 <style type="text/css" media="all">
6 body {
7 line-height: 2.0;
8 }
9
10 code, pre {
11 font-size: 100%;
12 }
13
14 .attribute-name {
15 width: 10em;
16 color: green;
17 font-family: "Courier New", "Courier", monospace;
18 }
19
20 .attribute-value {
21 display: inline;
22 height: 2em;
23 border-left: 1px #C0C0C0 solid;
24 border-right: 1px #C0C0C0 solid;
25 padding-left: 0.2em;
26 padding-right: 0.2em;
27 overflow: auto;
28 }
29
30 .boolean {
31 list-style-image: url(http://suika.fam.cx/icons/pie4);
32 }
33 .number {
34 list-style-image: url(http://suika.fam.cx/icons/binary);
35 }
36 .string {
37 list-style-image: url(http://suika.fam.cx/icons/text);
38 }
39 .function {
40 list-style-image: url(http://suika.fam.cx/icons/link);
41 }
42 .object {
43 list-style-image: url(http://suika.fam.cx/icons/sphere2);
44 }
45 .open {
46 list-style-image: url(http://suika.fam.cx/icons/sphere1);
47 }
48 .undefined {
49 list-style-image: url(http://suika.fam.cx/icons/unknown);
50 }
51 .error {
52 list-style-image: url(http://suika.fam.cx/icons/bomb);
53 }
54
55 </style>
56 </head>
57 <body>
58 <h1 lang="en">Object Viewer</h1>
59
60 <div id="documentObjectViewerContainer">
61 <script>
62 function htescape (s) {
63 return new String (s).split ('&').join ('&amp;').split ('<').join ('&lt;');
64 }
65
66 document.write ('<a href="' + htescape (location.pathname) +
67 '" lang="en">Reset</a>');
68 </script>
69
70 <div id="documentObjectViewerList">
71 <script>
72
73 var varName = unescape (location.search.substring (1));
74 if (!varName.length) varName = 'parent.contentFrame';
75 document.write ('<p>' + htescape (varName) + ':<' + '/p>');
76 document.write ('<ul>');
77 for (var a in eval(varName)) {
78 var af = varName + "['" + a.replace (/([\\'])/, '\\$1') + "']";
79 var val = eval (af);
80 document.write ('<li><a href="' + htescape (location.pathname) +
81 '?' + escape (af) +
82 '">' + htescape (a) +
83 '<' + '/a> :' + htescape (typeof (val)) +
84 ': "' + htescape (val) + '"<' + '/li>');
85 }
86 document.write ('<' + '/ul>');
87 </script>
88 </div>
89
90
91 </div>
92
93 </body>
94 </html>
95
96 <!-- Revision: $Date: 2005/04/24 07:58:59 $ -->
97
98 <!-- ***** BEGIN LICENSE BLOCK *****
99 - Version: MPL 1.1/GPL 2.0/LGPL 2.1
100 -
101 - The contents of this file are subject to the Mozilla Public License Version
102 - 1.1 (the "License"); you may not use this file except in compliance with
103 - the License. You may obtain a copy of the License at
104 - <http://www.mozilla.org/MPL/>
105 -
106 - Software distributed under the License is distributed on an "AS IS" basis,
107 - WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
108 - for the specific language governing rights and limitations under the
109 - License.
110 -
111 - The Original Code is Object Viewer code.
112 -
113 - The Initial Developer of the Original Code is Wakaba.
114 - Portions created by the Initial Developer are Copyright (C) 2005
115 - the Initial Developer. All Rights Reserved.
116 -
117 - Contributor(s):
118 - Wakaba <w@suika.fam.cx>
119 -
120 - Alternatively, the contents of this file may be used under the terms of
121 - either the GNU General Public License Version 2 or later (the "GPL"), or
122 - the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
123 - in which case the provisions of the GPL or the LGPL are applicable instead
124 - of those above. If you wish to allow use of your version of this file only
125 - under the terms of either the GPL or the LGPL, and not to allow others to
126 - use your version of this file under the terms of the MPL, indicate your
127 - decision by deleting the provisions above and replace them with the notice
128 - and other provisions required by the LGPL or the GPL. If you do not delete
129 - the provisions above, a recipient may use your version of this file under
130 - the terms of any one of the MPL, the GPL or the LGPL.
131 -
132 - ***** END LICENSE BLOCK ***** -->

admin@suikawiki.org
ViewVC Help
Powered by ViewVC 1.1.24