I don't think that's possible, unless you can figure out a way to calculate the size of the content that will appear. You might be able to open the window and place everything within a <div>, then read it's innerwidth style attribute and set the size of the window (it is possible to resize an existing windows through CSS). Not sure that will work, just thinking out loud.
Frank -----Original Message----- From: "senthil Kumar"<[EMAIL PROTECTED]> Sent: 2/10/05 1:46:24 AM To: "Struts Users Mailing List"<user@struts.apache.org>, "[EMAIL PROTECTED]"<[EMAIL PROTECTED]> Subject: Re: How to Resize the window in my popup Sir., Now it is comming, thanks. How to set autosize of the Window. I mean without scroll bar the window size show according to the data available in window. Thanks in advance. ----- Original Message ----- From: "Frank W. Zammetti" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" <user@struts.apache.org> Sent: Thursday, February 10, 2005 10:57 AM Subject: Re: How to Resize the window in my popup > Simply add width and height to your window.open() call parameters... > > function MM_callProjectSummary() { > > previewSummary = > window.open("ViewProjectSummary.do?projectId="+document.forms[0].projectId.v alue > +"","previewwin","previewwin","width=1180,height=924,scrollbars=yes,resizabl e=yes, > location=no "); > previewSummary.focus(); > > } > > ...just change them to the size you want. > > -- > Frank W. Zammetti > Founder and Chief Software Architect > Omnytex Technologies > http://www.omnytex.com > > > senthil Kumar wrote: > > my code is here. > > > > > > > > > > function MM_callProjectSummary() { > > > > previewSummary = window.open("ViewProjectSummary.do?projectId="+document.forms[0].projectId.v alue +"","previewwin","previewwin","scrollbars=yes,resizable=yes, location=no "); > > previewSummary.focus(); > > } > > > > > > --------------------------------------------------------------------- [Message truncated. Tap Edit->Mark for Download to get remaining portion.] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]