Home >Backend Development >PHP Tutorial > 百度站内搜索 怎么实现 iframe 形式的现实

百度站内搜索 怎么实现 iframe 形式的现实

WBOY
WBOYOriginal
2016-06-13 13:48:541374browse

百度站内搜索 如何实现 iframe 形式的现实
下面的代码希望大家帮我看一下是什么意思??? 如果要改成我自己的站 需要怎么修改...

HTML code
<!--

Code highlighting produced by Actipro CodeHighlighter (freeware)
http://www.CodeHighlighter.com/

-->

<!--google search form begin-->

<script type="text/javascript" src="http://www.google.com/jsapi"></script> 
<script type="text/javascript"> 
 google.load('search', '1');
 google.setOnLoadCallback(function() {
   google.search.CustomSearchControl.attachAutoCompletion('partner-pub-0632032028768696:e6ey12umu6s',document.getElementById('q'), 'cse-search-box');
  });
</script>



------解决方案--------------------
调用google搜索的api
Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn