搜索词链接到搜索引擎

时间:2016-06-10 17:51:17

标签: javascript search google-search

<html lang = "en">
<head>
<title> Words search </title>
</head>
<body>
<h1>Hello Please search for your words<h1>
<p> Please enter your word here <p>
<div id="header-search">
<div class="searchform-div">
    <form method="get" class="searchform" action="http://searchforwords.html">
        <div class="search-text-div"><input type="text" name="s" class="search-text" value="" placeholder="Search..." /></div>
        <div class="search-submit-div btn"><input type="submit" class="search-submit" value="Search" /></div>
    </form><!--end #searchform-->
</div>  </div><!-- end #header-search -->
    </div></header><!-- end #header-->
    <div id="header-search-result"></div>
<script type="text/javascript">
  var googleSearchIframeName = "header-search-result";
  var googleSearchFormName = "header-search";
  var googleSearchFrameWidth = 600;
  var googleSearchDomain = "www.google.com";
  var googleSearchPath = "/header-search";
</script>
<script type="text/javascript" src="http://www.google.com/afsonline/show_afs_search.js"></script>
 </script>
</body>
</html>

嗨朋友我几乎在那里我正在尝试与谷歌重复我的网站并直接连接到谷歌搜索。我仍然停留在第10行,我必须以这样的方式改变某些东西,以至于我将在搜索中输入的单词将出现在Google搜索中......我仍然无法弄清楚... pl帮助我

0 个答案:

没有答案