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 wOOdy-Soft on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

resizing a window

Status
Not open for further replies.

emms

Programmer
Jan 11, 2001
55
GB
is it possible to change the width and height of a window once its open?

I'm not limited to Javascript on this so if you can suggest anything else that would be suitable?

thanks for any help

Emma
 
Javascript:

window.moveBy(x,y)
window.moveTo(x,y)
window.moveTo(x,y)
window.resizeBy(x,y)
window.resizeTo(x,y)


 
window.resizeTo() looks perfect, is this supported in all browsers?

Em
x
 
I think so, Ive got N4 N6 and IE55 and it works on all of those but that may be because N4 is using the N6 javascript version
 
excellent - i'll do a little testing on it.

thanks for your extremely quick help
much appreciated!

Em
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top