open form subbmit in new window of predetirmined size

C

chris

what i want to do is using a form when the submit button is pressed it opens
a new window with the size set to predetimined dimensions

opening the window using target is fine but i want to restrict the size and
iff possible not havetoobars (however that is not as important

any idea's would be great
 
M

Mark Parnell

what i want to do is using a form when the submit button is pressed it opens
a new window with the size set to predetimined dimensions

You could possibly set up a macro or something, but I can't imagine it
would be easy. Much easier to just open the new window manually. You
could possibly add a bookmark with the Javascript info to set the window
size etc (assuming you have Javascript enabled), though I haven't ever
tried.
 
S

Somchai U.

I propose two methods for this question.

1. use the target="..." as usual in <form>. And the html code in
result page includes the javascript code to resive itself.

2. use the target="..." as usual in <form>, add code to onsubmi
eventt. The code is to open the new window (with the name and size you
want) just before the form is submitted.

Somchai U.
Brainbench MVP for HTML
http://www.brainbench.com/
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,768
Messages
2,569,574
Members
45,051
Latest member
CarleyMcCr

Latest Threads

Top