Ver Mensaje Individual
  #5 (permalink)  
Antiguo 17/08/2011, 08:47
UkySoft
 
Fecha de Ingreso: febrero-2007
Mensajes: 80
Antigüedad: 17 años, 2 meses
Puntos: 0
Respuesta: API google search

Buenas tardes, mi codigo es simplemente el copy paste del codigo que proporciona google:

Código HTML:
<div id="cse" style="width: 100%;">Loading</div>
<script src="http://www.google.es/jsapi" type="text/javascript"></script>
<script type="text/javascript"> 
  google.load('search', '1', {language : 'es', style : google.loader.themes.SHINY});
  google.setOnLoadCallback(function() {
    var customSearchControl = new google.search.CustomSearchControl('005812780578887639905:wpk-bblqji4');
    customSearchControl.setResultSetSize(google.search.Search.FILTERED_CSE_RESULTSET);
    customSearchControl.draw('cse');
  }, true);
</script> 
Muchas gracias