Thread: JavaScript
View Single Post
  #3 (permalink)  
Old April 27th, 2011, 06:14 AM
unicode unicode is offline
Registered User
Join Date: Apr 2011
Posts: 1
Thanks: 1
Thanked 0 Times in 0 Posts
Default static, dynamic and properties window in javascript

<title>Untitled Document</title>
function properties_page()
for (var i in window)
document.write (“Window property(” + i + “): ” +
window[i] + “<BR>”);
<script language=”JavaScript”>
function dynamic_page(){
open(“”, “myChild”);
function static_page()
{“”, “newWin”,
<form name=”form1″>
<input type=”button” name=”b1″ value=”dynamic Child” onClick=’dynamic_page()’>
<input type=”button” name=”b2″ value=”static resize” onClick=’static_page()’>
<input type=”button” name=”b3″ value=”properties_page” onClick=’properties_page()’>
Reply With Quote