Click to See Complete Forum and Search --> : Form data to CGI & New window os certain size?


Charles_cz
11-25-2002, 06:53 PM
I have the form on main page. I need to send form to cgi and open new window of certain size.

Here is the link.

Form (http://www.chicago-cz.com/cgi-bin/aj/slovnik.pl )


Here is form code.

<form action= 'http://chicago-cz.com/cgi-bin/aj/slovnik.pl?slovo' method="post" target="_blank" >
<table width="236" height="64" border="0" cellpadding="0" cellspacing="0" bgcolor="4880A0">
<tr>
<td width="1%" height="32" class="jazyk">&nbsp;</td>
<td width="29%" height="32" class="jazyk">Cesky</td>
<td width="48%" class="jazyk">&nbsp; Anglicky</td>
<td width="18%" class="jazyk"><div align="center">
<input name="image2" type="image" src="http://www.chicago-cz.com/anglictina/images/preloz.gif" input>
</div></td>
<td width="4%" rowspan="2" class="jazyk">&nbsp;</td>
</tr>
<tr>
<td>&nbsp;</td>
<td valign="middle"><input name="czech" type="text" id="czech" size="10"></td>
<td colspan="2" valign="middle"><div align="center">
<input name="english" type="text" size="10">
</div></td>
</tr>
</table>
</form>


Everything works fine, but I have no idea how to set size of new window. I know it's possible to do that with java script. Can I some how combine java script & form with POST method to resolve my problem? May be there is very sipmple solution and I just do not know about that. ( Learning all the time :rolleyes:)

I will appriciate any advise o suggestion.

Thanks Charles

Charles_cz
11-25-2002, 09:00 PM
I got it. Thanks.