korstudio

ESHOPPS Google CSE

Apr 1st, 2011
232
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
HTML 0.58 KB | None | 0 0
  1. <div id="cse" style="width: 100%;">Loading</div>
  2. <script src="//www.google.com/jsapi" type="text/javascript"></script>
  3. <script type="text/javascript">
  4.   google.load('search', '1', {language : 'en'});
  5.   google.setOnLoadCallback(function() {
  6.     var customSearchControl = new google.search.CustomSearchControl('016263364707695860243:6yaggdsah70');
  7.     customSearchControl.setResultSetSize(google.search.Search.FILTERED_CSE_RESULTSET);
  8.     customSearchControl.draw('cse');
  9.   }, true);
  10. </script>
  11. <link rel="stylesheet" href="//www.google.com/cse/style/look/default.css" type="text/css" />
Add Comment
Please, Sign In to add comment