<HEAD>
<TITLE>EIW JavaScript Demo - Browser and Document Properties</TITLE>
</HEAD>
<BODY>
<SCRIPT LANGUAGE=JavaScript>
<!--
// Create a TABLE that contains all the properties of a named
// object
function properties_table(objectname, object) {
document.write("<TABLE BORDER=1 BGCOLOR=wheat><TR>");
document.write("<TD style='font-size: 18pt; font-weight: bold' COLSPAN=2 ALIGN=CENTER>");
document.write("Properties of the <CODE>"+objectname+"</CODE> object</TD></TR>");
for (prop in object) {
document.writeln("<TR><TH>"+prop+"</TH><TD>"+
object[prop]+"</TD></TR>");
}
document.writeln("</TABLE><P>");
}
properties_table("document",document);
// -->
</SCRIPT>
|