www.webdeveloper.com
Results 1 to 2 of 2

Thread: Form data to CGI & New window os certain size?

  1. #1
    Join Date
    Nov 2002
    Posts
    6

    Form data to CGI & New window os certain size?

    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


    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 )

    I will appriciate any advise o suggestion.

    Thanks Charles

  2. #2
    Join Date
    Nov 2002
    Posts
    6
    I got it. Thanks.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center



Recent Articles