page resizing

by Nate Harel <nharel(at)>

 Date:  Tue, 31 Jul 2001 15:24:16 -0400
 To:  hwg-techniques(at)
  todo: View Thread, Original
Hi all,

Perhaps I can get a bit of advice on this.

I want to refresh a web page when it gets resized.

I am using Dreamweaver and they have a little JS routine that does it for 
Netscape and it works fine. I wanted to implement the same functionality 
for IE and copied the code and made some minor mods to it. However, the 
page does not automatically refresh upon resizing. Some ideas/suggestions 

Here is the code and the page it is located on ...

<script language="JavaScript">
function reloadPage(init) {  //reloads the window if window resized
   if (init==true) {
	onresize=reloadPage; }
	if (self.innerWidth!=document.pgW )



			 Nate Harel
		        NetTech Services
		        66 Carol Road
		  Needham, MA  02492-1108
		    Tel: 1-781-559-8176
		 Toll Free: 1-877-567-8936
		   FAX: 1-877-567-8936
		 Email: nharel(at)

HWG hwg-techniques mailing list archives, maintained by Webmasters @ IWA