Skip to content

Instantly share code, notes, and snippets.

@doiguocmoc
Created November 18, 2016 20:17
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save doiguocmoc/468a08643983417ab93e818c77629035 to your computer and use it in GitHub Desktop.
Save doiguocmoc/468a08643983417ab93e818c77629035 to your computer and use it in GitHub Desktop.
<div class="quan-tam">
<h3 class="heading">Bạn nên xem</h3>
<div id='cse-search-form' style='width: 100%;height:300px;overflow-y: scroll;'>Đang tải...</div>
<script src='http://www.google.com/jsapi' type='text/javascript'></script>
<script type='text/javascript'>
google.load('search', '1', {language: 'vi'});
google.setOnLoadCallback(function() {
var customSearchControl = new google.search.CustomSearchControl("004032395659677657430:ekrwef_0m7c");
customSearchControl.setResultSetSize(google.search .Search.FILTERED_CSE_RESULTSET);
customSearchControl.draw('cse-search-form');
customSearchControl.execute("<data:blog.title/>");
}, true);
</script>
</div>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment