texas
08-27-2003, 02:29 AM
I wonder if someone could help me out here. I have a search form which accesses a script. I want to open and deliver the results of the search form in left/right frames ...with the dimensions for the right frame as shown below. I don't have the left frame size now ...I can determine that later on.
What I really need is the javascript to activate the whole thing from onSubmit. Any help would be most appreciated.
Here is the form's code:
<form method="post" action="http://mywebsite.com/search/index.php3" target="frmwindow" onSubmit="window.open('http://mywebsite.com/search/index.php3','frmwindow', 'height=323,width=550,menubar=0,status=0,location=0,scrollbars=0,resiz able=0,toolbar=no,')">
<p>analyze URL:
<input type="text" name="file1" value="http://" size="35">
<p>words to ignore:
<input type="text" name="wremove" size="33" value="a the but i or and of it how on in an for">
<p>Shows top
<select name="looptop">
<option value="10">10
</select>
keywords
<br>Include comment tags
<input type="radio" name="com" value=""> Yes
<input type="radio" name="com" value="on" checked> No
<br>Include ALT tags
<input type="radio" name="alts" value="on"> Yes
<input type="radio" name="alts" value="" checked> No
<br>Include META keywords
<input type="radio" name="ikey" value="on"> Yes
<input type="radio" name="ikey" value="" checked> No
<br>Include META description
<input type="radio" name="idesc" value="on"> Yes
<input type="radio" name="idesc" value="" checked> No
<p align="center">
<input type="submit" value="Analyze">
</form>
</td>
</tr>
</table>
What I really need is the javascript to activate the whole thing from onSubmit. Any help would be most appreciated.
Here is the form's code:
<form method="post" action="http://mywebsite.com/search/index.php3" target="frmwindow" onSubmit="window.open('http://mywebsite.com/search/index.php3','frmwindow', 'height=323,width=550,menubar=0,status=0,location=0,scrollbars=0,resiz able=0,toolbar=no,')">
<p>analyze URL:
<input type="text" name="file1" value="http://" size="35">
<p>words to ignore:
<input type="text" name="wremove" size="33" value="a the but i or and of it how on in an for">
<p>Shows top
<select name="looptop">
<option value="10">10
</select>
keywords
<br>Include comment tags
<input type="radio" name="com" value=""> Yes
<input type="radio" name="com" value="on" checked> No
<br>Include ALT tags
<input type="radio" name="alts" value="on"> Yes
<input type="radio" name="alts" value="" checked> No
<br>Include META keywords
<input type="radio" name="ikey" value="on"> Yes
<input type="radio" name="ikey" value="" checked> No
<br>Include META description
<input type="radio" name="idesc" value="on"> Yes
<input type="radio" name="idesc" value="" checked> No
<p align="center">
<input type="submit" value="Analyze">
</form>
</td>
</tr>
</table>