google站内搜索代码
2012-02-22 17:27
337 查看
试用了一下google自定义搜索,功能确实很多,可以投放自己的adsense,还可以嵌入google Analytics 统计代码,还可以自定义搜索结果页面的外观,还可以设置某些搜索结果置顶显示,但是有二个缺点不得不提:
1 搜索框的外观实在是丑得可以了。我就不贴图了,愿意感受一下的同学们自己去试用一下吧。2 忘记了。。。
最近记忆力出问题了, 很多东西转瞬即忘。
于是,不得不换一种形式的站内搜索代码了:
37 <!–google–>
38 <div style=”float:left;margin-left:20px;margin-top:10px !important; margin-top:5px;”>
39 <form action=”http://www.google.cn/search” method=”get” target=_blank>
40 <input name=”sitesearch” value=”zhaokunyao.com” type=”hidden”>
41 <input name=”hl” value=”zh-CN” type=”hidden”>
42 <input name=”ie” value=”GB2312″ type=”hidden”>
43 <input size=”25″ name=”q” id=”query” type=”text” >
44 <input name=”Search” value=”Google搜索” attr=”value” type=”submit”><br>
45 <input name=s onClick=”this.form.sitesearch.value=”;” type=radio> 互联网
46 <input name=s onclick=”this.form.sitesearch.value=’www.zhaokunyao.com’” type=radio checked> zhaokunyao.com
47 </form>
48 </div>
49 <!–google–>备注一下:
<input name=”ie” value=”GB2312″ type=”hidden”> 根据此搜索框被嵌入页面的编码来修改。
再附一下百度站内搜索代码 http://www.baidu.com/search/freecode.html
Related posts:
相关文章推荐
- Google站内搜索代码
- Google和百度、雅虎的站内搜索代码
- Google和百度、雅虎的站内搜索代码
- 主要搜索引擎(Google和百度、雅虎)的站内搜索代码
- Google和百度、雅虎的站内搜索代码
- 实现google baidu yahoo soso ... 站内搜索代码
- Google 百度 站内搜索代码
- Google和Baidu的站内搜索代码
- 通过谷歌Google轻松拥有自己的站内搜索代码
- google和百度、雅虎的站内搜索代码
- Google和百度、雅虎的站内搜索代码
- Google和百度、雅虎的站内搜索代码
- Google和百度、雅虎的站内搜索代码
- Google和百度、雅虎的站内搜索代码
- Google和百度、雅虎的站内搜索代码
- 支持google、baidu、Yahoo的站内搜索的代码
- Google和百度、雅虎的站内搜索代码
- Google和百度、雅虎的站内搜索代码
- Google和百度、雅虎的站内搜索代码
- Google和百度、雅虎的站内搜索代码