Select List Jumps to Search Engines for You

[Total: 0    Average: 0/5]

This will allow your users to search many websites from one jump location.

Body Code:

<script launguage=javascript>
//if you add or subtract engines ensure that you maintain numerical order and relationship to options on submit form
//results open in new window, to change this edit target on selectedIndex

function send_search()
{
var searchstring=window.document.searchengine.search.value;

if(window.document.searchengine.engine.selectedIndex == "0")
{
window.document.crawler.qkw.value=searchstring;
window.document.crawler.action="http://www.webcrawler.com/info.wbcrwl.sbox/search/redir.htm";
window.document.crawler.qcat.value="web";
window.document.crawler.target="_blank";
window.document.crawler.submit()
return (true);
}

if(window.document.searchengine.engine.selectedIndex == "1")
{
window.document.yahoo.p.value=searchstring;
window.document.yahoo.action="http://search.yahoo.com/bin/search";
window.document.yahoo.target="_blank";
window.document.yahoo.submit()
return (true);
}

if(window.document.searchengine.engine.selectedIndex == "2")
{
window.document.icy.keywords.value=searchstring;
window.document.icy.action="http://www.icyspicy.com/cgi-bin/search/search.cgi";
window.document.icy.target="_blank";
window.document.icy.submit()
return (true);
}

if(window.document.searchengine.engine.selectedIndex == "3")
{
window.document.scrub.q.value=searchstring;
window.document.scrub.action="http://www.scrubtheweb.com/cgi-bin/search.cgi";
window.document.scrub.target="_blank";
window.document.scrub.submit()
return (true);
}

if(window.document.searchengine.engine.selectedIndex == "4")
{
window.document.hippo.q.value=searchstring;
window.document.hippo.action="http://www.searchhippo.com/q.php";
window.document.hippo.target="_blank";
window.document.hippo.submit()
return (true);
}

if(window.document.searchengine.engine.selectedIndex == "5")
{
window.document.misty.username.value="raul";
window.document.misty.results.value="10";
window.document.misty.target_url.value="http://hotwildmisty.com/websearch/index.shtml";
window.document.misty.keywords.value=searchstring;
window.document.misty.action="http://hotwildmisty.com/websearch/index.shtml";
window.document.misty.target="_blank";
window.document.misty.submit()
return (true);
}

}
</script>

<!-- below are the submission forms -->

<form name=crawler method="get" action="http://www.webcrawler.com/info.wbcrwl.sbox/search/redir.htm">
<input type="hidden" name="qcat" value="web">
<input type="hidden" name="qkw">
</form>

<form name=yahoo method=get action="http://search.yahoo.com/bin/search">
<input type="hidden" name="p">
</form>

<form name=icy METHOD="POST" ACTION="http://www.icyspicy.com/cgi-bin/search/search.cgi">
<input type=hidden name=keywords>
</form>

<FORM name=scrub ACTION="http://www.scrubtheweb.com/cgi-bin/search.cgi" METHOD="GET">
<INPUT TYPE="hidden" NAME="q">
</FORM>

<FORM name=hippo METHOD="GET" ACTION="http://www.searchhippo.com/q.php">
<INPUT TYPE="hidden" NAME="q" MAXLENGTH="256">
</FORM>

<form name=misty action="http://hotwildmisty.com/websearch/index.shtml" method="get" />
<input type="hidden" name="username" value="raul" />
<input type="hidden" name="results" value="10" />
<input type="hidden" name="target_url" value="http://hotwildmisty.com/websearch/index.shtml" />
<input type="hidden" name="keywords" />
</form>

<!-- below is the multiple search box that you will see on your webpage -->

<form name=searchengine method=post action="javascript:send_search()">
Find: 
<input name="search" type="text" size="25"> 
with: 
<select name="engine"> 
<option>Web Crawler</option>
<option>Yahoo! Search</option>
<option>Icy Spicy</option>
<option>Scrub The Web</option>
<option>Search Hippo</option>
<option>Misty's Web Search</option>
</select> 
<input type="button" value="Search" name="B1" onclick="javascript:send_search()">
</form>

Times Viewed: 10

Leave a Reply

Your email address will not be published. Required fields are marked *