Difference between revisions of "Template:Exeter"

 
(2 intermediate revisions by the same user not shown)
Line 468: Line 468:
 
}
 
}
 
</style>
 
</style>
 
+
<!--
<script type="text/javascript">
+
<script>
     document.getElementById('frmSearch').onsubmit = function() {
+
  (function() {
        window.location = 'http://www.google.com/search?q=site:https://2015.igem.org/Team:Exeter' + document.getElementById('txtSearch').value;
+
     var cx = '013872312295473225681:zjqk8ipootc';
        return false;
+
    var gcse = document.createElement('script');
    }
+
    gcse.type = 'text/javascript';
 +
    gcse.async = true;
 +
    gcse.src = (document.location.protocol == 'https:' ? 'https:' : 'http:') +
 +
        '//cse.google.com/cse.js?cx=' + cx;
 +
    var s = document.getElementsByTagName('script')[0];
 +
    s.parentNode.insertBefore(gcse, s);
 +
  })();
 
</script>
 
</script>
 
+
<gcse:search></gcse:search>
 +
-->
 
<script>
 
<script>
 
$(document).ready(function() {
 
$(document).ready(function() {
Line 627: Line 634:
 
                 </span>
 
                 </span>
 
             </div>-->
 
             </div>-->
 +
<searchbox
 +
    label="Search this wiki for:"
 +
    searchlabel="Find it..."
 +
    golabel="Go!"
 +
/>
 
             <!-- /input-group -->
 
             <!-- /input-group -->
<!--<form id="frmSearch" class="search2" method="get" action="default.html" />
 
<input class="search2" id="txtSearch" type="text" name="serach_bar" size="31" maxlength="255"     
 
value="" style="left: 396px; top: 153px; width: 293px; height: 26px;" />
 
<input class="search1" type="submit" name="submition" value="Search" style=" padding- 
 
bottom:20px; left: 691px; top: 153px; height: 23px" />
 
<input class="search2" type="hidden" name="sitesearch" value="default.html" />-->
 
 
         </li>
 
         </li>
 
       </ul><!-- /.navbar-nav -->
 
       </ul><!-- /.navbar-nav -->

Latest revision as of 01:14, 19 September 2015