[Javascript] refresh on resize window/reload .js file only
Hassan Schroeder
hassan at webtuitive.com
Thu May 17 12:23:41 CDT 2001
Russell Scheinberg wrote:
> Unfortunately they are "anchored" position-wise to images that are
> on the page. I have a formula that will position these menus correctly
> for different resolutions and window sizes.
> Maybe if there was a way to just call the .js file without reloading
> the entire page......
So you don't actually want to reload the .js file, you just want to
re-*run* the positioning code that's already loaded, right?
If so, wrap them in a function, call it "reposition", say, and
<body onResize="reposition();">
HTH!
--
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