I got it. My link is as follows: <html:link href="javascript:openHelpWindow();">Help</html:link> which calls the following: <script> function openHelpWindow(){ var helpWindow = window.open("","_help", "height=300,width=450,status=yes,toolbar=no,menubar=no,location=no"); helpWindow.location = "./help.action"; } </script>
On 5/19/05, David Johnson <[EMAIL PROTECTED]> wrote: > > Hi there > I'm trying to open up a new window from my struts application which will > contain "help" information. The link opening the window looks like this so > far > > < > html:link action="help.do <http://help.do/>" target="_help">Help </ > html:link> > What I'd like to do is specify the following options > window.height=400; > window.width=300; > window.status=yes; > window.toolbar=no; > window.menubar=no; > window.location=no; > which I'd normally do using a javascript method... like this: > > <script> > function openHelpWindow() { > var helpWindow = window.open("","_help" , > "height=300,width=450,status=yes,toolbar=no,menubar=no,location=no"); > return helpWindow; > } > </script> > Does anyone know how I might specify these options when opening up a new > window, then submitting a struts form to said window? > > -- > -Dave > [EMAIL PROTECTED] > -- -Dave [EMAIL PROTECTED]