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.
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值