Difference between revisions of "Template:Exeter"

Line 467: Line 467:
 
}
 
}
 
</style>
 
</style>
 +
 +
<script type="text/javascript">
 +
    document.getElementById('frmSearch').onsubmit = function() {
 +
        window.location = 'http://www.google.com/search?q=site:https://2015.igem.org/Team:Exeter' + document.getElementById('txtSearch').value;
 +
        return false;
 +
    }
 +
</script>
  
 
<script>
 
<script>
Line 611: Line 618:
 
         <li class="navbar-search">
 
         <li class="navbar-search">
 
         <div class="input-group custom-search-form">
 
         <div class="input-group custom-search-form">
                 <input type="text" class="form-control" placeholder="Search...">
+
                <form id="frmSearch" method="get" action="default.html" />
 +
                 <input id="txtSearch" type="text" class="form-control" placeholder="Search...">
 
                 <span class="input-group-btn">
 
                 <span class="input-group-btn">
 
                 <button class="btn btn-default" type="button">
 
                 <button class="btn btn-default" type="button">

Revision as of 23:46, 18 September 2015