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

WBOY
Release: 2016-06-13 13:48:54
Original
1331 people have browsed it

百度站内搜索 如何实现 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>

Copy after login


------解决方案--------------------
调用google搜索的api
Related labels:
source:php.cn
Statement of this Website
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
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!