I’m looking for a script that can resize the browser window! For example: I got a script that opens a new window, in the new window I would like to have a few buttons, that when you press the window would be resized! …Like it fades to another size!
hey… i havent dealt with javascript (yet:P)… but if loops work the samy way the do on any other languages, you might be able to make a loop that resizes the window gradually using this code…
*Originally posted by Abraxxas *
**
<HEAD>
<SCRIPT LANGUAGE="JavaScript">
function resize() {
window.resizeTo(740, 580);
}
</SCRIPT>
**
if theres a function that gets the current window size, then you can subtract the new size off the current size and divide that into lets say 10 and store it into a variable, and loop the resizeTo() function 10 times, where it subtracts the number in that variable…
again, this is just an assumption… im into javascript really=)