Team:Peking/Google Parts

From 2010.igem.org

(Difference between revisions)
Line 1: Line 1:
-
{{:Team:Peking/Header1}}
 
-
{{:Team:Peking/Header2}}
 
-
{{:Team:Peking/LeftBar}}
 
-
__NOTOC__
 
===Search the Registry with Google Engine===
===Search the Registry with Google Engine===
-
 
-
<html>
 
-
<style type="text/css">
 
-
body {
 
-
    background-color: #eee;
 
-
}
 
-
 
-
/*----------------------------------------------------------------------------*/
 
-
/* sidebar right                                                              */
 
-
/*----------------------------------------------------------------------------*/
 
-
 
-
#sidebar {
 
-
    width: 172px;
 
-
    margin: 20px 7px 0 0px;
 
-
    position: relative;
 
-
    float: right;
 
-
    text-align: left;
 
-
}
 
-
 
-
#sidebar_extra {
 
-
    margin-top: 0px;
 
-
}
 
-
 
-
#sidebar ul {
 
-
    padding: 0;
 
-
    margin: 0;
 
-
    list-style: none;
 
-
}
 
-
</html>
 
-
 
<div id="cse" style="width: 100%;">Loading</div>
<div id="cse" style="width: 100%;">Loading</div>

Revision as of 13:46, 10 July 2010


Search the Registry with Google Engine

Loading

<script src="http://www.google.com/jsapi" type="text/javascript"></script> <script type="text/javascript">

 google.load('search', '1', {language : 'en'});
 google.setOnLoadCallback(function() {
   var customSearchControl = new google.search.CustomSearchControl('003596668401458118461:iq3_2fiujbk');
   customSearchControl.setResultSetSize(google.search.Search.FILTERED_CSE_RESULTSET);
   customSearchControl.draw('cse');
 }, true);

</script> <link rel="stylesheet" href="http://www.google.com/cse/style/look/greensky.css" type="text/css" />


</html>

It is much more powerful than search engine of partsregistry itself. Try it !!!