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

dynamic sizing of popups

Status
Not open for further replies.

aarrgghh

Technical User
Sep 5, 2002
60
US
Hey all,

Is there a way to control the height and width of a pop-up other than explicitly stating like below?

function popUp()
{
newWindowTrue = window.open("", "", "height=525,width=725,scrollbars,");
newWindowTrue.focus();
newWindowTrue.document.write("content");
newWindowTrue.document.close();
}

The problem is, I either have too much extra blank space on the side or bottom of the popUp.

Thanks in advance.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top