Re: How to Resize the window in my popup

2005-02-10 Thread Frank W. Zammetti
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

Re: How to Resize the window in my popup

2005-02-10 Thread Frank W. Zammetti
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

Re: How to Resize the window in my popup

2005-02-10 Thread Jeff Beal
Here's a bit of code to put into the onload() event handler of your dialog. (This has only been tested on IE.) var chromeHeight = /^[0-9]+/.exec(window.dialogHeight) - document.body.clientHeight; var contentHeight = document.all.mainLayer.offsetHeight; window.dialogHeight =

How to Resize the window in my popup

2005-02-09 Thread senthil Kumar
my code is here. function MM_callProjectSummary() { previewSummary = window.open(ViewProjectSummary.do?projectId=+document.forms[0].projectId.value +,previewwin,previewwin,scrollbars=yes,resizable=yes, location=no ); previewSummary.focus(); }

Re: How to Resize the window in my popup

2005-02-09 Thread Frank W. Zammetti
Simply add width and height to your window.open() call parameters... function MM_callProjectSummary() { previewSummary = window.open(ViewProjectSummary.do?projectId=+document.forms[0].projectId.value +,previewwin,previewwin,width=1180,height=924,scrollbars=yes,resizable=yes, location=no );

Re: How to Resize the window in my popup

2005-02-09 Thread senthil Kumar
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