`
charm
  • 浏览: 7353 次
  • 性别: Icon_minigender_1
  • 来自: 济南
最近访客 更多访客>>
社区版块
存档分类
最新评论

google custom search

阅读更多
加了个google custom search 遇到了一点问题。

1、去掉google水印:http://www.google.com/afsonline/show_afs_search.js 拷到本地新建js文件把http:\x2F\x2Fwww.google.com\x2Fcse\x2Fintl\x2Fen\x2Fimages\x2Fgoogle_custom_search_watermark.gif 这个图片替换掉然后导入。

2、iframe大小不合适,最后得到了这个结果。

FORID:9 for ads on the right, FORID:10 for ads on the top and right, or FORID:11 for ads on the top and bottom.
If you're trying to control the iframe size, you can change the googleSearchFrameWidth variable in the results code. Note: The minimum width when ads are on the top and bottom is 500. If your ads appear on the right the minimum is 795. You cannot control the iframe height.


分享到:
评论

相关推荐

Global site tag (gtag.js) - Google Analytics