[Javascript] refresh on resize window/reload .js file only

Hassan Schroeder hassan at webtuitive.com
Tue May 15 20:14:18 CDT 2001


Russell Scheinberg wrote:
> 
> I would like to create a function that will cause the window to 
> refresh whenever the window is resized.

<body onResize="location.reload();">

> Also, is there a way to reload a javascript source file without 
> reloading the rest of the data that might be loaded on the page 
> from the server or that has been input into form elements? Thanks.

Hmmmm - have to think about that a bit. Would the "reloaded" file 
replace existing variables/functions or add new ones?

-- 
H*
Hassan Schroeder ----------------------------- hassan at webtuitive.com 
Webtuitive Design ---(+1) 408-938-0567 --- http://www.webtuitive.com

    -- creating dynamic Web sites and applications since 1994 --




More information about the Javascript mailing list