Access window properties : Window Properties « Window Browser « JavaScript DHTML






Access window properties

   
<html>
<head>
<script language="JavaScript">
<!--
function showResults(obj, name) {
  document.writeln("<table cellpadding=5 border=1><tr><td align=middle><b><font size=-1>" + name + "</font></b></td></tr>");
  for (i in obj) {
      document.writeln("<td><font size=-1>" + i + "</font></td>");
      document.writeln("</table><p>");
  }
}
showResults(document, "document");
showResults(window, "window");
//-->
</script>
</head>
</html>


           
         
    
    
  








Related examples in the same category

1.Modifies the properties and the contents of the browser's windows
2.Displaying the Associative Properties Area of a Window Object
3.Change status bar with mouse click
4.Output tag name from window event to status bar
5.Change window location
6.Open a new window and load new page
7.Set text for windows status bar
8.References to Window Objects
9.A Main Window Document
10.Open a new window with your own options
11.X/Y Marks the Spot for a popup window (IE)