Add Mega Search To Your Site |
How To Add Mega Search To Your Site The code for mega search is in two parts, java script and html. The first part below is the java script. Copy and past the java script between the head tags ob your html page. The head tags are formated like this <head> and </head>. <script language="JavaScript"> <!-- function startSearch(){ searchString = document.searchForm.searchText.value; if(searchString != ""){ searchEngine = document.searchForm.whichEngine.selectedIndex + 1; finalSearchString = ""; if(searchEngine == 2) { finalSearchString = "http://www.cybergrace.com/hyperseek/hyperseek.cgi?Range=Any&Terms=" + searchString + "&Rank=1&Qualifier=&howmuch=ALL"; } if(searchEngine == 3) { finalSearchString = "http://www.crosssearch.com/cgi-bin/search?s=" + searchString; } if(searchEngine == 4) { finalSearchString = "http://www.botcw.com/cgi-bin/links/search.cgi?query=" + searchString; } if(searchEngine == 5) { finalSearchString = "http://216.33.66.54/cgi/texis.exe/index/search/?query=" + searchString + "&db=db%2Ffull"; } if(searchEngine == 6) { finalSearchString = "http://www.fni.com/xstart/display.php?olimit=0&class=0&keyword=" + searchString; } if(searchEngine == 7) { finalSearchString = "http://omnilist.crosswalk.com/search.cfm?SearchType=Entire&returnwhat=all&SearchString=" + searchString + "&BooleanOption=or"; } if(searchEngine == 8) { finalSearchString = "http://www.gosearch.net/?words=" + searchString; } i f (searchEngine == 9){ finalSearchString = "http://www.aphids.com/cgi-bin/relres.pl?act=search&SITE_NAME=ON&SITE_DESC=ON&SEARCHSTRING=" + searchString; } if (searchEngine == 10) { finalSearchString = "http://www.chrsites.com/cgi-bin/search.cgi?Range=Any&Terms=" + searchString + "&Rank=1&Qualifier=&howmuch=ALL"; } parent.main.location.href = finalSearchString; } } //--> < /script>
The second part below is the html code that you can place any where on you web page to suit your look. <table border="1" width="200" height="95"> < tr>< td width="33%" height="89" valign="top" align="left" bgcolor="#000080"><p align="center"><fontcolor=" #FFFF00"><u><strong><big>Christian Mega Search</big></strong></u></font></p>< form name="searchForm" method="POST">< div align="center"><center><p style="margin: 1px; padding: 1px"><input type="text"name=" searchText" size="25" style="font-size: 10pt"></p>< /center></div><div align="center"><center><p style="margin: 1px; padding: 1px"><selectname=" whichEngine" size="1" style="font-size: 10pt">< option value="Christian Search">Christian Search</option>< option value="Cybergrace">Cybergrace</option>< option value="Cross Search">Cross Search</option>< option value="BOTCW">BOTCW</option>< option value="Christianity Network">Christianity Network</option>< option value="Fish Net">Fish Net</option>< option value="Cross Walk">Cross Walk</option>< option value="Goshen">Goshen</option>< option value="Religious Resourses">Religious Resourses</option>< option value="Christian Cyberspace">Christian Cyberspace</option>< /select><input type="button" value="GO!" onClick="startSearch()" style="font-size: 10pt"></p>< /center></div>< /form>< p style="margin: 1px; padding: 1px"><font color="#FFFF00"><small>Add Mega Search to yourweb site. Click Here to find out more.< /small></font></td>< /tr> </table>Here is how it looks:
Please fill out the form so I can email you updates as more search engines are add. |