post form into 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
if possible not havetoobars (however that is not as important)

any idea's would be great

thaks
 
M

Moist

chris said:
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
if possible not havetoobars (however that is not as important)

any idea's would be great

thaks

window.open(URL, "", "left=xxx, top=xxx, height=xxx, width=xxx")

Replace the xxx with the coordinates f your choice. Search for window.open
and Javascript using Google for the complete syntax and options.
 
R

Richard Cornford

Moist wrote:
window.open(URL, "", "left=xxx, top=xxx, height=xxx, width=xxx")

Replace the xxx with the coordinates f your choice. Search for
window.open and Javascript using Google for the complete syntax
and options.

If such a google search were carried out in a way that included the
groups.google.com archives for comp.lang.javascript it would reveal many
occasions where it is pointed out that the 'features' list provided as
the third parameter to - window.open - is a comma separated list, not a
comma-space separated list, as an explanation to examples of partial or
total failure of feature settings on many non-IE browsers. (along with
much on the subject of the reliability/advisability of attempting to
open new browser windows, and the alternatives).

Richard.
 

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

Forum statistics

Threads
473,769
Messages
2,569,579
Members
45,053
Latest member
BrodieSola

Latest Threads

Top