estesflyer
Programmer
you can see the script in action here
<html>
<head>
<title>Search Forum</title>
<script language="javascript">
<!--
function search()
{
var searchsubject=document.formsearch.searchsubject.value;
var newwin=window.open('about:blank','newwin','menubar,width=800,height=600,left=0,top=0');
var lycos=' + searchsubject;
var altavista=' + searchsubject;
var google=' + searchsubject;
newwin.document.write('<html>');
newwin.document.write('<head>');
newwin.document.write('<title>Search Page</title>');
newwin.document.write('</head>');
newwin.document.write('<frameset>');
newwin.document.write('<frameset rows="33%,33%,33%">');
newwin.document.write('<frame name="page1" src="' + lycos + '">');
newwin.document.write('<frame name="page2" src="' + altavista +'">');
newwin.document.write('<frame name="page3" src="' + google +'">');
newwin.document.write('</frameset>');
newwin.document.write('</frameset>');
newwin.document.write("</html>"
}
//-->
</script>
</head>
<body>
<form name="formsearch">
<b>Search for:</b>
<input size="30" name="searchsubject" type="textbox">
<input size="55" type="button" value="search" onClick="search()"
</body>
</html>
hope all goes well!!
- Rusty
<html>
<head>
<title>Search Forum</title>
<script language="javascript">
<!--
function search()
{
var searchsubject=document.formsearch.searchsubject.value;
var newwin=window.open('about:blank','newwin','menubar,width=800,height=600,left=0,top=0');
var lycos=' + searchsubject;
var altavista=' + searchsubject;
var google=' + searchsubject;
newwin.document.write('<html>');
newwin.document.write('<head>');
newwin.document.write('<title>Search Page</title>');
newwin.document.write('</head>');
newwin.document.write('<frameset>');
newwin.document.write('<frameset rows="33%,33%,33%">');
newwin.document.write('<frame name="page1" src="' + lycos + '">');
newwin.document.write('<frame name="page2" src="' + altavista +'">');
newwin.document.write('<frame name="page3" src="' + google +'">');
newwin.document.write('</frameset>');
newwin.document.write('</frameset>');
newwin.document.write("</html>"
}
//-->
</script>
</head>
<body>
<form name="formsearch">
<b>Search for:</b>
<input size="30" name="searchsubject" type="textbox">
<input size="55" type="button" value="search" onClick="search()"
</body>
</html>
hope all goes well!!
- Rusty