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

Popup windows - How do i make the window a certain size?

Status
Not open for further replies.

JoeM6

Programmer
Aug 5, 2000
53
US
I have a page, where you click a button, and a popup window comes up, how do I change the size of the window to what I want it to be:
The code i am using is [tt]<input type=button onClick=&quot;Start(' value=&quot;Go!&quot;>[/tt]
I want the window size to be 640x800, could you tell me the code?

JoeM6
JPMJR11@aol.com
 
in your function you:

window.open(url, name, 'width=640, height=480');
 
You could of had a look at this thread Open new window center screen just below your's.

;-)
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top