home *** CD-ROM | disk | FTP | other *** search
-
- <ccresource>
- <cctitle>
- Multiple Search Engine Portal
- </cctitle>
- <cccategory>
- Browser
- </cccategory>
- <ccDescription>
- This code will allow you to put a search box on your
- page that will search your choice of several search engines.
- </ccdescription>
- <ccinstructions>
- The code goes anywhere within the BODY tags.
- </ccinstructions>
- <ccheadcontent>
-
- </ccheadcontent>
- <ccbodycontent>
- <script language="JavaScript" type="text/javascript">
-
- //<![CDATA[
-
- <!--
-
- function startSearch(){searchString = document.searchForm.searchText.value;if(searchString != ""){searchEngine = document.searchForm.whichEngine.selectedIndex + 1;finalSearchString = "";
-
- if(searchEngine == 1){finalSearchString = "http://yourUrlgoeshere.com";}
-
- if(searchEngine == 2){finalSearchString = "http://www.aesop.com/cgi-bin/a-search.cgi?term=" + searchString;}
-
- if(searchEngine == 3){finalSearchString = "http://www.altavista.com/web/results?itag=wrx&q=" + searchString;}
-
- if(searchEngine == 4){finalSearchString = "http://atopqualitysite.com/cgi-bin/search/search.pl?Terms=" + searchString;}
-
- if(searchEngine == 5){finalSearchString = "http://www.galaxy.com/cgi-bin/query?keys=" + searchString;}
-
- if(searchEngine == 6){finalSearchString = "http://www.google.com/search?q=" + searchString + "&btnG=Google+Search";}
-
- if(searchEngine == 7){finalSearchString = "http://www.icyspicy.com/cgi-bin/search/search.cgi?keywords=" + searchString;}
-
- if(searchEngine == 8){finalSearchString = "http://mia-search.mia.lycos.com/default.asp?lpv=1&loc=lycoshp&tab=web&query=" + searchString + "&backlink=639";}
-
- if(searchEngine == 9){finalSearchString = "http://www.mamma.com/Mamma?qtype=0&query=" + searchString + "&Submit=Go+Mamma";}
-
- if(searchEngine == 10){finalSearchString = "http://search.yahoo.com/bin/search?p=" + searchString;}
-
- if(searchEngine == 11){finalSearchString = "http://search.gallery.yahoo.com/search/corbis?p=" + searchString + "&r=all";}
-
- if(searchEngine == 12){finalSearchString = "http://www.download.com/3120-20_4-0.html?qt=" + searchString + "&tg=dl-20&search.x=0&search.y=0&search=+Go%21+";}
-
- if(searchEngine == 13){finalSearchString = "http://downloads-zdnet.com.com/3120-20-0.html?qt=" + searchString + "&tg=dl-2001";}
-
- if(searchEngine == 14){finalSearchString = "http://dk.altavista.com/q?pg=q&q=" + searchString + "&kl=XX&what=dk&search.x=26&search.y=11";}
-
- if(searchEngine == 15){finalSearchString = "http://dk.search.yahoo.com/search?ei=UTF-8&fr=404&p=" + searchString;}
-
- if(searchEngine == 16){finalSearchString = "http://de.altavista.com/q?pg=q&q=" + searchString + "&kl=XX&what=de&search.x=26&search.y=11";}
-
- if(searchEngine == 17){finalSearchString = "http://de.search.yahoo.com/search/de?p=" + searchString;}location.href = finalSearchString;}}// -->
-
- //]]>
-
- </script>
-
-
-
- <form name="searchForm"><b>Find</b> <input name="searchText"
-
- type="text" /> <b>with this search engine:</b> <select name="whichEngine"
-
- onchange="startSearch()">
-
- <option selected="selected">Select / Reset</option>
-
- <option>Aesop</option>
-
- <option>Altavista</option>
-
- <option>Awards & Topsites</option>
-
- <option>Galaxy</option>
-
- <option>Google</option>
-
- <option>IcySpicy</option>
-
- <option>Lycos</option>
-
- <option>Mamma</option>
-
- <option>Yahoo!</option>
-
- <option>Yahoo (PixSearch)</option>
-
- <option>Software - CNet Downloads</option>
-
- <option>Software - Hotfiles ZDNet</option>
-
- <option>Denmark - AltaVista (DK)</option>
-
- <option>Denmark - Yahoo (DK)</option>
-
- <option>Deutschland - Altavista (DE)</option>
-
- <option>Deutschland - Yahoo (DE)</option>
-
- </select></form>
-
- </select></form>
-
- </ccbodycontent>
- <ccelementcontent>
-
- <ccelementname></ccelementname>
- <ccelementaction></ccelementaction>
-
- </ccelementcontent>
- <ccextradata>
-
- </ccextradata>
- </ccresource>
-