在网页中嵌入Google搜索(站内搜索)
2010-06-25 10:33
302 查看
<div id="cse" style="width: 100%;">Loading</div>
<script src="http://www.google.com/jsapi" type="text/javascript"></script>
<script type="text/javascript">
google.load('search', '1', {language : 'zh-CN'});
google.setOnLoadCallback(function() {
var customSearchControl = new google.search.CustomSearchControl('008229143262561549995:lqp6wdiqhsm');
customSearchControl.setResultSetSize(google.search.Search.FILTERED_CSE_RESULTSET);
customSearchControl.draw('cse');
}, true);
</script>
<link rel="stylesheet" href="http://www.google.com/cse/style/look/default.css" type="text/css" />
<script src="http://www.google.com/jsapi" type="text/javascript"></script>
<script type="text/javascript">
google.load('search', '1', {language : 'zh-CN'});
google.setOnLoadCallback(function() {
var customSearchControl = new google.search.CustomSearchControl('008229143262561549995:lqp6wdiqhsm');
customSearchControl.setResultSetSize(google.search.Search.FILTERED_CSE_RESULTSET);
customSearchControl.draw('cse');
}, true);
</script>
<link rel="stylesheet" href="http://www.google.com/cse/style/look/default.css" type="text/css" />
相关文章推荐
- 网页中嵌入GOOGLE、百度搜索
- 在自己的网页中嵌入Google搜索且使该搜索在指定的网址中进行关键字搜索
- 在网页中嵌入百度、谷歌搜索(Web搜索与站内搜索)
- 网页中嵌入Google搜索
- 网页中嵌入Baidu、Google合并搜索
- 在自己的网页中插入google搜索
- Google搜索恶意站点报告网页上线
- 利用google的接口在网站嵌入搜索
- Google Map API使用详解(十二)——如何在自己的网页中嵌入地图
- Google的网页境外搜索业务昨天已经恢复,测试一下效果如何
- 我的直言来google搜索浏览网页
- VR 照片和 VR 电影如何嵌入网页html中(Google VR 框架的使用)
- chrome浏览器使用google搜索,搜到结果却打不开网页
- 如何在网页中嵌入搜索引擎(百度,google)
- 在自己的网站嵌入google搜索代码
- Google Map API使用详解(十二)——如何在自己的网页中嵌入地图
- 网页嵌入百度搜索条(含站内搜索功能)
- 网络上整理的google baidu 搜索框嵌入网页代码
- 4.电影搜索之如何把视频播放器嵌入网页 百度影音+快播
- Google 搜索结果的网页摘要测试工具