Ich habe eine Frage wie kann ich die Forensuche mit der Googlesuche tauschen.
Hier der Code:
PHP
<div id="cse" style="width: 100%;">Loading</div>
<script src="//www.google.de/jsapi" type="text/javascript"></script>
<script type="text/javascript">
google.load('search', '1', {language : 'de'});
google.setOnLoadCallback(function() {
var customSearchControl = new google.search.CustomSearchControl(
'016780027792749497029:zifpsb0sdom');
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" />
Alles anzeigen