Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Allowing Window To Be Sizable

Status
Not open for further replies.

bretttt

Programmer
Jul 23, 2002
74
0
0
US
hello, i have this

var newWinWidth = 700;
var newWinHeight = 500;
window.resizeTo(newWinWidth, newWinHeight);

but cannot adjust the window size after.

How do i make it sizeable? thanks.
 
I plugged that script you posted above it
Code:
var newWinWidth = 700;
var newWinHeight = 500;
window.resizeTo(newWinWidth, newWinHeight);
and i could resize the document
 
How have you launched the window? Using window.open(...)? What were the parameters that you passed - ie what was the 3rd parameter - the window properties?

I suspect you have "...,resizable=0,..." or "...,resizable=no,..." in your launching parameters. A good site to reference is:

Hope this helps.

Pete.


Web Developer & Aptrix / Lotus Workplace Web Content Management (LWWCM) Specialist
w: e: Pete.Raleigh(at)lclimited.co.uk
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top