动态网站基本设置,在电脑上查看效果会吧?
新建一个ASP文件,在BODY里填个一行一列的表格
然后把空格( )替换成你生成的代码就行了:
<table width="900" border="0">
<tr>
<td><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 : 'zh-CN'});
google.setOnLoadCallback(function() {
var customSearchControl = new google.search.CustomSearchControl(
'013005671553533000422:iqgaklgnwd4');
customSearchControl.setResultSetSize(google.search.Search.FILTERED_CSE_RESULTSET);
customSearchControl.draw('cse');
}, true);
</script>
<link rel="stylesheet" href="//www.google.com/cse/style/look/default.css" type="text/css" />
</td>
</tr>
</table>
实在不会Q我吧:53949972