You are viewing an old revision of this post, from April 20, 2012 @ 22:41:21. See below for differences between this version and the current revision.

Cari dengan Google

Loading

Revisions

Revision Differences

April 20, 2012 @ 22:41:21Current Revision
Content
<div id="cse" style="width: 100%;">Loading</div> <div id="cse" style="width: 100%;">Loading</div>
<script src="http://www.google.com/jsapi" type="text/javascript"></script> <script src="http://www.google.com/jsapi" type="text/javascript"></script>
<script type="text/javascript">  <script type="text/javascript">
google.load('search', '1', {language : 'en', style : google.loader.themes.GREENSKY});   google.load('search', '1', {language : 'id', style : google.loader.themes.GREENSKY});
google.setOnLoadCallback(function() {  google.setOnLoadCallback(function() {
var customSearchOptions = {};  var customSearchOptions = {};
   var orderByOptions = {};
   orderByOptions['keys'] = [{label: 'Relevance', key: ''},{label: 'Date', key: 'date'}];
   customSearchOptions['enableOrderBy'] = true;
   customSearchOptions['orderByOptions'] = orderByOptions;
   var imageSearchOptions = {};
   imageSearchOptions['layout'] = google.search.ImageSearch.LAYOUT_POPUP;
   customSearchOptions['enableImageSearch'] = true;
   customSearchOptions['imageSearchOptions'] = imageSearchOptions;
customSearchOptions['adoptions'] = {'layout': 'noTop'};  customSearchOptions['adoptions'] = {'layout': 'noTop'};
var customSearchControl = new google.search.CustomSearchControl(  var customSearchControl = new google.search.CustomSearchControl(
'015470088575789737025: 4cxyw5qoite', customSearchOptions);  '015470088575789737025: 4cxyw5qoite', customSearchOptions);
customSearchControl.setResultSetSize( google.search.Search.FILTERED_ CSE_RESULTSET);  customSearchControl.setResultSetSize( google.search.Search.FILTERED_ CSE_RESULTSET);
customSearchControl.draw('cse');  customSearchControl.draw('cse');
}, true);  }, true);
</script> </script>

Note: Spaces may be added to comparison text to allow better line wrapping.

No comments yet.

Leave a Reply