Try this:

<form action="test.cfm" method="post" target="newTest" 
onsubmit="window.open('','newTest','width=200,height=400')">

The name given to the new window must match the name specified in target.

Craig

> -----Original Message-----
> From: Lee Surma [SMTP:[EMAIL PROTECTED]]
> Sent: Wednesday, March 07, 2001 1:52 PM
> To:   CF-Talk
> Subject:      Form submit new window
> 
> I need to open a new window and control the size etc. when a form is submitted. I 
>know I can use target="new" in the form action, but I need to specify the size and 
>suppress the toolbar etc much like a Javascript onclick window open command.
> --
>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm

Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to