Team:Paris Bettencourt
From 2013.igem.org
(Difference between revisions)
Line 2: | Line 2: | ||
<html> | <html> | ||
+ | <head> | ||
+ | <script type="text/javascript"> | ||
+ | |||
+ | // Google Internal Site Search script II- By JavaScriptKit.com (http://www.javascriptkit.com) | ||
+ | // For this and over 400+ free scripts, visit JavaScript Kit- http://www.javascriptkit.com/ | ||
+ | // This notice must stay intact for use | ||
+ | |||
+ | function Gsitesearch(curobj){ | ||
+ | var domainroot=curobj.domainroot[curobj.domainroot.selectedIndex].value | ||
+ | curobj.q.value="site:"+domainroot+" "+curobj.qfront.value | ||
+ | } | ||
+ | </script> | ||
+ | </head> | ||
<div id="content1"> | <div id="content1"> | ||
Line 19: | Line 32: | ||
<div id="sidebar"> | <div id="sidebar"> | ||
- | <div class="box"> | + | <div class="box"> |
+ | <form action="http://www.google.com/search" method="get" onSubmit="Gsitesearch(this)"> | ||
+ | <p> | ||
+ | <input name="q" type="hidden" /> | ||
+ | <input name="qfront" type="text" style="width: 180px" /> <input type="submit" value="Search" /><br /> | ||
+ | Search: </br> | ||
+ | <select name="domainroot"> | ||
+ | <option value="2013.igem.org" selected="1">iGEM 2013</option> | ||
+ | </select> | ||
+ | </p> | ||
+ | </form> | ||
+ | <!-- | ||
+ | <p style="font: normal 11px Arial">This free script provided by<br /> | ||
+ | <a href="http://www.javascriptkit.com">JavaScript Kit</a></p> | ||
+ | --> | ||
<!-- http://www.askdavetaylor.com/how_can_i_add_a_google_search_box_to_my_web_site.html | <!-- http://www.askdavetaylor.com/how_can_i_add_a_google_search_box_to_my_web_site.html | ||
<form method="get" action="http://www.google.com/search" target="_blank"> | <form method="get" action="http://www.google.com/search" target="_blank"> |
Revision as of 16:47, 23 July 2013
<body>
Work in progress...