Programalama > HTML

<!-- TWO STEPS TO INSTALL WEB SEARCH:

  1.  Copy the coding into the HEAD of your HTML document
  2.  Add the last code into the BODY of your HTML document  -->

<!-- STEP ONE: Paste this code into the HEAD of your HTML document  -->

<HEAD>

<script type="text/javascript">

<!-- This script and many more are available free online at -->
<!-- The JavaScript Source!! http://javascript.internet.com -->
<!-- Sandeep Gangadharan -->

<!-- Begin
function searchWeb() {
  if (document.search.engines.selectedIndex==0) { window.location.href="http://altavista.com/web/results?pg=q&what=web&fmt=.&q="+document.search.queryText.value.replace(" ","+"); }
  if (document.search.engines.selectedIndex==1) { window.location.href="http://www.ask.com/main/askjeeves.asp?x=22&y=13&ask="+document.search.queryText.value.replace(" ","+"); }
  if (document.search.engines.selectedIndex==2) { window.location.href="http://www.infospace.com/dog/redir.htm?&qkw="+document.search.queryText.value.replace(" ","+"); }
  if (document.search.engines.selectedIndex==3) { window.location.href="http://www.google.com/search?btnG=Google+Search&q="+document.search.queryText.value.replace(" ","+"); }
  if (document.search.engines.selectedIndex==4) { window.location.href="http://www.hotbot.com/default.asp?prov=Fast&tab=web&query="+document.search.queryText.value.replace(" ","+"); }
  if (document.search.engines.selectedIndex==5) { window.location.href="http://www.looksmart.com/r_search?look=&key="+document.search.queryText.value.replace(" ","+"); }
  if (document.search.engines.selectedIndex==6) { window.location.href="http://search.lycos.com/?query="+document.search.queryText.value.replace(" ","+"); }
  if (document.search.engines.selectedIndex==7) { window.location.href="http://search.metacrawler.com/texis/search?brand=metacrawler&q="+document.search.queryText.value.replace(" ","+"); }
  if (document.search.engines.selectedIndex==8) { window.location.href="http://www.overture.com/d/search/?type=home&tm=1&Keywords="+document.search.queryText.value.replace(" ","+"); }
  if (document.search.engines.selectedIndex==9) { window.location.href="http://search.yahoo.com/search?p="+document.search.queryText.value.replace(" ","+"); }
}
//  End -->
</script>

</HEAD>

<!-- STEP TWO: Copy this code into the BODY of your HTML document  -->

<BODY>

<form name="search">
<table bgcolor="000098" height="50">
  <tr>
    <td> 
       <select name="engines" style="font-size: 9pt">
         <option value="0" selected>AltaVista</option>
         <option value="1">Ask Jeeves</option>
         <option value="2">InfoSpace</option>
         <option value="3">Google</option>
         <option value="4">HotBot</option>
         <option value="5">LookSmart</option>
         <option value="6">Lycos</option>
         <option value="7">MetaCrawler</option>
         <option value="8">Overture</option>
         <option value="9">Yahoo!</option>
       </select>
       <input type="text" size="25" value="Search web for ..." onFocus=select(); name="queryText"  style="font-size: 9pt" />
       <input type="button" value="Go" onClick="searchWeb()" style="font-size: 9pt" /> 
    </td>
  </tr>
</table>
</form>

<p><center>
<font face="arial, helvetica" size"-2">Free JavaScripts provided<br>
by <a href="http://javascriptsource.com">The JavaScript Source</a></font>
</center><p>

<!-- Script Size:  3.46 KB -->

alperen&gt&gtmaxiresim.xm.com
the-alperen@hotmail.com


Yorumlar                 Yorum Yaz
Bu hazır kod'a ilk yorumu siz yapın!
KATEGORİLER
ASP - 240
ASP.NET - 24
C# - 75
C++ - 174
CGI - 8
DELPHI - 247
FLASH - 49
HTML - 536
PASCAL - 246
PERL - 11
PHP - 160
WML - 9
XML - 2
Copyright © 2002 - 2024 Hazır Kod - Tüm Hakları Saklıdır.
Siteden yararlanırken gizlilik ilkelerini okumanızı tavsiye ederiz.
hazirkod.com bir İSOBİL projesidir.