English Deutsch Français Italiano Español Português 繁體中文 Bahasa Indonesia Tiếng Việt ภาษาไทย
All categories

not from a link, but self-resizing.

I seem to remember the window.resize command.

2006-07-27 11:06:10 · 2 answers · asked by Rockstar 6 in Computers & Internet Programming & Design

2 answers

Here's a code snippet I found that resizes the window to an arbitrary size:

function resizeOuterTo(w,h) {
if (parseInt(navigator.appVersion)>3) {
if (navigator.appName=="Netscape") {
top.outerWidth=w;
top.outerHeight=h;
}
else top.resizeTo(w,h);
}
}

2006-07-27 11:14:19 · answer #1 · answered by knieveltech 3 · 0 0

You can use Java Script to set the size of a window.

http://www.javascript.com
http://www.htmlgoodies.com

2006-07-27 18:13:52 · answer #2 · answered by Anonymous · 0 0

fedest.com, questions and answers