Search in different search engine : Search Engine « Ajax Layer « JavaScript DHTML






Search in different search engine


<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
<head>
  <title>Search multiple engines</title>
  <link rel="shortcut icon" href="/images/favicon.ico" />
  <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
  <meta name="keywords" content="search,google,yahoo,alltheweb,ivar,abrahamsen">
  <meta name="description" content="search enginer page">
  <script language='JavaScript' type='text/javascript' src='/js/eray_core2.js'></script>
  <script language='JavaScript' type='text/javascript'>
    function loader(){
      //coreFunc.reloader( 4000 );
    }
    function unloader(){
      //coreFunc.unload();
    }
    function changeAction( form, what ){
      form.action = what;
    }
  </script>
  <!-- link href="/sites/todo/styles/error.css" rel="stylesheet" type="text/css" -->
  <style type="text/css">
  body{
    font-family: Sans,  Arial;
    background-color:  #0018a5;
    color: white;
    margin: 0px;
  }
  table.border{
    border: 6px outset   silver;
    background-color: black;    
    margin: 0px;
  }  
  .cell{
    text-align: center;
    white-space: nowrap;
    padding: 0px 3px;
  }
  .head{
    font-weight: 900;
  }
  .section{
    font-weight: 600;
  }
  .txt{
    font-weight: 100;
  }
  .title{  
    font-size: 11pt;    
  }
  .domain{  
    font-size: 9pt;
  }
  .desc{    
    font-size: 8pt;
  }
  </style>
</head>
<body onload="loader()" onunload="unloader()">
    <table align="center" width="100%" cellspacing="0" cellpadding="0" border="5" height="100%">
    <tr valign="middle"  height="100%">
      <td valign="middle" align="center">
        <table cellspacing="0" cellpadding="3" class="border" align="center">
        <tr>
        <td><a href="http://www.electricray.org" target="_top"><img 
          border =0 height=20 src="/images/eraylogorayonlytrans.png" /></a></td>
          <td awidth='100%' class="cell title head" colspan=1>            
            Search
          </td>
        <td align='right'><a href="http://www.electricray.org" target="_top"><img 
          border =0 height=20 src="/images/eraylogorayonlytrans.png" /></a></td>
        </tr>        
        <tr>
          <td colspan=3>
            <table border=1 cellpadding=0 cellspacing=0 width='100%'>
            <form action="http://www.google.com/search" method="get">
            <tr>
              <td class="cell domain section" colspan=1>
                Google
              </td>
              <td class="cell desc txt" colspan=1>
                <input type="text" name="q"/><br />
                Web:<input type="radio" checked name="type" onclick="changeAction(this.form,'http://www.google.com/search')" />
                Groups:<input type="radio" name="type"onclick="changeAction(this.form,'http://groups.google.com/groups')"  />
                News:<input type="radio" name="type" onclick="changeAction(this.form,'http://news.google.com/news')" />
              </td>
              <td class="cell desc txt" colspan=1>
                <input type="submit" value="Go" />
              </td>
            </tr>
            </form>
            <form action="http://search.yahoo.com/search" method="get">
            <tr>
              <td class="cell domain section" colspan=1>
                Yahoo
              </td>
              <td class="cell desc txt" colspan=1>
                <input type="text" name="p" /><br />
                Web:<input type="radio" checked name="type" onclick="changeAction(this.form,'http://www.google.com/search')" />
                News:<input type="radio" name="type" onclick="changeAction(this.form,'http://news.search.yahoo.com/search/news/')" />
              </td>
              <td class="cell desc txt" colspan=1>
                <input type="submit" value="Go" />
              </td>
            </tr>
            </form>
            <form action="http://www.alltheweb.com/search" method="get">
            <tr>
              <td class="cell domain section" colspan=1>
                All The Web
              </td>
              <td class="cell desc txt" colspan=1>
                <input type="text" name="q" /><br />
                Web:<input type="radio" checked name="cat"value="web" />
                News:<input type="radio" name="cat" value="news" />
              </td>
              <td class="cell desc txt" colspan=1>
                <input type="submit" value="Go" />
              </td>
            </tr>
            </form>
            <form action="http://en.wikipedia.org/w/wiki.phtml" method="get">
            <tr>
              <td class="cell domain section" colspan=1>
                Ask Jeeves
              </td>
              <td class="cell desc txt" colspan=1>
                <input type="text" name="search" />
              </td>
              <td class="cell desc txt" colspan=1>
                <input type="submit" value="Go" />
              </td>
            </tr>
            </form>
            <form action="http://www.thesourus.com/search" method="get">
            <tr>
              <td class="cell domain section" colspan=1>
                MSN
              </td>
              <td class="cell desc txt" colspan=1>
                <input type="text" />
              </td>
              <td class="cell desc txt" colspan=1>
                <input type="submit" value="Go" />
              </td>
            </tr>
            </form>
            <form action="http://en.wikipedia.org/w/wiki.phtml" method="get">
            <tr>
              <td class="cell domain section" colspan=1>
                Wikipedia
              </td>
              <td class="cell desc txt" colspan=1>
                <input type="text" name="search" />
              </td>
              <td class="cell desc txt" colspan=1>
                <input type="submit" value="Go" />
              </td>
            </tr>
            </form>
            <form action="http://www.thesourus.com/search" method="get">
            <tr>
              <td class="cell domain section" colspan=1>
                Thesourus
              </td>
              <td class="cell desc txt" colspan=1>
                <input type="text" />
              </td>
              <td class="cell desc txt" colspan=1>
                <input type="submit" value="Go" />
              </td>
            </tr>
            </form>
            <form action="http://www.thesourus.com/search" method="get">
            <tr>
              <td class="cell domain section" colspan=1>
                Dictionary
              </td>
              <td class="cell desc txt" colspan=1>
                <input type="text" />
              </td>
              <td class="cell desc txt" colspan=1>
                <input type="submit" value="Go" />
              </td>
            </tr>
            </form>
            <form action="http://www.thesourus.com/search" method="get">
            <tr>
              <td class="cell domain section" colspan=1>
                Amazon
              </td>
              <td class="cell desc txt" colspan=1>
                <input type="text" />
              </td>
              <td class="cell desc txt" colspan=1>
                <input type="submit" value="Go" />
              </td>
            </tr>
            </form>
            <form action="http://www.thesourus.com/search" method="get">
            <tr>
              <td class="cell domain section" colspan=1>
                eBay
              </td>
              <td class="cell desc txt" colspan=1>
                <input type="text" />
              </td>
              <td class="cell desc txt" colspan=1>
                <input type="submit" value="Go" />
              </td>
            </tr>
            </form>
            <form action="http://www.thesourus.com/search" method="get">
            <tr>
              <td class="cell domain section" colspan=1>
                eBay
              </td>
              <td class="cell desc txt" colspan=1>
                <input type="text" />
              </td>
              <td class="cell desc txt" colspan=1>
                <input type="submit" value="Go" />
              </td>
            </tr>
            </form>
            </table>
          </td>
        </tr>
       </table>        
      </td>
    </tr>
    </table>    
</body>
<!-- IEA 2K3-->
</html>

           
       








tabsearch.zip( 9 k)

Related examples in the same category

1.Do a search on different search engine at the same time