reload on resize
hi there
i'm looking for a js, that reloads my site when the user changes the size of his browser window.
i'd say it's a very simple script, but i haven't found it anywhere...
may anyone help?
thnx!
hi there
i'm looking for a js, that reloads my site when the user changes the size of his browser window.
i'd say it's a very simple script, but i haven't found it anywhere...
may anyone help?
thnx!
Kool Dude posted this at 03:22 — 20th February 2000.
They have: 19 posts
Joined: Oct 1999
try:
<BODY onResize='window.location.reload()'>
merlin posted this at 08:44 — 21st February 2000.
They have: 410 posts
Joined: Oct 1999
this doesn't seem to be a good idea...
it doesn't stop reloading the site, when i change the size.....
AndyB posted this at 09:31 — 21st February 2000.
They have: 344 posts
Joined: Aug 1999
If it's for the site URL in your profile, then why not just make the left frame a fixed width and wide enough for your logo?
If it's for something else - why does the site need to reload if I change the size of my window (something I do all the time).
merlin posted this at 10:21 — 21st February 2000.
They have: 410 posts
Joined: Oct 1999
andyB: it's not for the site in my profile, that's my private 'project'...
i have some mouse-overs and boxes to show, all at the same position (for different image-positions).
everything was doing right, until i resized the window, the boxes moved to a 'wrong' place. when i reload the page, this problem's solved.
or do you have another idea to position the boxes?
that's how i did it:
#box1, #box2 {position:absolute; top:90px; left:185px; width:80px; visibility:hidden; background-color:white}
Want to join the discussion? Create an account or log in if you already have one. Joining is fast, free and painless! We’ll even whisk you back here when you’ve finished.