RE: Forms

by "Daren C. Robbins" <dcr(at)nextw3.com>

 Date:  Thu, 24 Sep 1998 12:59:42 -0700
 To:  "Michael Gerholdt" <gerholdt(at)ait.fredonia.edu>
 Cc:  hwg-graphics(at)hwg.org
 References:  jcdcrs0
  todo: View Thread, Original
Use the following to have it open in the current window:

onSubmit="location.href='thanks.htm';"

Anything further should be on hwg-techniques, however.

><FORM METHOD="POST" NAME="RES" ACTION="mailto:gerholdt(at)ait.fredonia.edu"
>OnSubmit="window.open
>('thanks.htm','newWin','scrollbars=yes,status=yes,width=640,height=280')";>
>
>where "thanks.htm" is the page to display in the new window. This does open
>a new browser window of the above specified size without closing the page
>the form is on, which may not be what you wish to do . . . it's the way I
>chose to do it and I didn't figure out the way to open a new page in the
>same window. Perhaps instead of 'window.open' you'd use 'window.self' or
>something of the sort.
>


--
Daren C. Robbins | NEXT W3 Internet Services / Web Development
  dcr(at)nextw3.com | 916.457.2242 / http://www.nextw3.com

HWG: hwg-graphics mailing list archives, maintained by Webmasters @ IWA