0
我已经在我的网站验证码:谷歌自定义网页搜索:隐藏控件
<div id="cse" style="width: 100%;">Loading</div>
<script src="//www.google.com/jsapi" type="text/javascript"></script>
<script type="text/javascript">
google.load('search', '1', {language : 'it'});
google.setOnLoadCallback(function() {
var customSearchControl = new google.search.CustomSearchControl('mybigbigbignumber');
customSearchControl.setResultSetSize(google.search.Search.LARGE_RESULTSET);
customSearchControl.draw('cse');
}, true);
</script>
<link rel="stylesheet" href="//www.google.com/cse/style/look/default.css" type="text/css" />
它按预期工作:出现在谷歌搜索栏,搜索结果将出现在下面的对话框。
我需要的是一个“透明”搜索操作。
我的意思是在我的表单中传递搜索条件到google WebSearch服务,并将结果显示在由我制作的自定义css-ized列表中。