Window Sizing

D

DVan

Is there a way to set the window size on a
<form action="add.ASP" method="POST">
<input type="hidden" name="AComputer" value="<% =AC %>">
This open in a full window

I have this other way without using the form
<input type="submit" value="ARecord" name="Add"
onClick="window.open('add.asp','add','width=500,height=300')">
This sizes it for me nice, but I can't pass the values I need.

I want to pass AC and have the window size 500 X 300

Is this possible?
 
T

TomB

You can set the target in the form tag.

<form action="add.asp" target="_new" method="post">

and in the add.asp page, have some javascript, resize the window after
loading.

TomB
 

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