Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > ASP General > Window Sizing

Reply
Thread Tools

Window Sizing

 
 
DVan
Guest
Posts: n/a
 
      10-13-2004
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,he ight=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?


 
Reply With Quote
 
 
 
 
Aaron [SQL Server MVP]
Guest
Posts: n/a
 
      10-13-2004
You could switch to GET instead, and use
window.open('add.asp?AComputer=<%=AC%>', ... , ...);

Or see http://www.aspfaq.com/2353

--
http://www.aspfaq.com/
(Reverse address to reply.)


 
Reply With Quote
 
 
 
 
TomB
Guest
Posts: n/a
 
      10-13-2004
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


"DVan" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> 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,he ight=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?
>
>



 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Sizing firefox window. jill Computer Support 5 03-12-2006 10:53 PM
wxPython and window sizing Ville Voipio Python 2 09-15-2005 02:16 PM
Pop-up window sizing issue Daimajin HTML 18 11-11-2004 01:16 AM
Control Window Sizing Ron Patterson Computer Support 3 09-06-2003 03:05 AM
Window sizing G. W. Clay Computer Support 4 07-13-2003 06:30 PM



Advertisments