Team:UCSF/Search

From 2010.igem.org

(Difference between revisions)
 
(64 intermediate revisions not shown)
Line 1: Line 1:
-
<html xmlns="http://www.w3.org/1999/xhtml">
+
<html>
-
<head>
+
 
-
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
+
<style>
-
<title>Untitled Document</title>
+
-
<style type="text/css">
+
-
#apDiv1 {
+
-
position:absolute;
+
-
left:0px;
+
-
top:0px;
+
-
width:100%;
+
-
z-index:1;
+
-
}
+
body{
body{
-
background-color:white;
+
background-color:#494d51;
}
}
-
#apDiv2 {
+
 
-
margin: 0 auto 0 auto;
+
#content{
-
position:relative;
+
padding-right:10px;
-
top:10px;
+
-
width:1000px;
+
-
z-index:1;
+
}
}
-
#apDiv4 {
+
h1{
-
position:relative;
+
color:red;
-
width:180px;
+
float:right;
-
float:left;
+
-
height:auto;
+
-
z-index:1;
+
}
}
-
#apDiv3 {
+
 
-
position:relative;
+
h2{
-
width:800px;
+
color:red;
-
z-index:2;
+
float:right;
-
float:right;
+
}
}
 +
p{
 +
margin-left:40px;
 +
margin-right:20px;
 +
}
-
#basic-accordian{
+
h3{
-
border:0px solid #EEE;
+
color: #467f4a;
-
padding:0px;
+
text-vertical-align:middle;
-
width:180px;
+
background-image:url(https://static.igem.org/mediawiki/2010/3/31/UCSF_meihuabiao.png);
-
position:relative;
+
text-indent: 35px;
-
left:0px;
+
background-repeat: no-repeat;
-
top:0px;
+
-
z-index:2;
+
}
}
-
.accordion_headings{
+
div#search-controls{
-
padding:5px;
+
    display: none;
-
background:#99CC00;
+
-
color:#FFFFFF;
+
-
border:1px solid #FFF;
+
-
cursor:pointer;
+
-
font-size: 11px;
+
-
font-weight:bold;
+
}
}
-
.accordion_headings:hover{
+
div#top-section{
-
background:#F90;
+
display:none;
-
font-size: 11px;
+
//background-color:#FF6801;  
 +
//border:0px;
 +
//width:100%;
 +
height: 24px;
 +
}
 +
#mw-searchButton{
 +
    display: none;
}
}
-
.accordion_child{
+
div#contentSub{
-
padding:10px;
+
    display: none;
-
font-size: 11px;
+
-
background:white;
+
-
background-color:#FAF8D1;
+
}
}
-
.header_highlight{
+
#footer-box {
-
background:#F90;
+
width: 970px;
}
}
-
#apDiv5 {
+
div#menubar{
-
position:relative;
+
    display: none;
-
width:800px;
+
    text-indent:10px;
-
height:30px;
+
    top: 0;
-
z-index:3;
+
}
}
-
#apDiv6 {
+
 
-
position:absolute;
+
div#p-logo{
-
left:0px;
+
    display: none;
-
top:0px;
+
    width:1000px;
-
width:150px;
+
-
height:100%;
+
-
z-index:1;
+
}
}
-
#apDiv7 {
+
 
-
position:absolute;
+
h1.firstHeading {
-
top:0px;
+
        height:0px;
-
left:400px;
+
display: none;
-
width:400px;
+
-
height:100%;
+
-
z-index:2;
+
}
}
-
#apDiv8 {
+
 
-
position:relative;
+
 
-
width:790px;
+
</style>
-
height:auto;
+
 
-
    border:5px solid #EEE;
+
<style>
-
z-index:4;
+
 
 +
#content{
 +
z-index:0;
}
}
 +
ul, li{
 +
margin: 0;
 +
padding: 0;
 +
border: 0;
 +
outline: 0;
 +
font-weight: inherit;
 +
font-style: inherit;
 +
font-size: 100%;
 +
font-family: inherit;
 +
vertical-align: baseline;
 +
}
 +
 +
#navigation ul li.active > a,
 +
#navigation > ul li a:hover,
 +
#navigation ul li.sub-nav:hover > a {
 +
border-color: #53a5ed;
 +
background: #256fdf;
 +
background: -webkit-gradient(linear, left top, left bottom, from(#2f88ec), to(#256fdf));
 +
background: -moz-linear-gradient(top,  #2f88ec,  #256fdf);
 +
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#2f88ec', endColorstr='#256fdf');
 +
}
 +
#navigation ul li.sub-nav > a:hover:before,
 +
#navigation ul li.sub-nav:hover > a:before {
 +
border-top-color: #53a5ed !important;
 +
}
 +
#navigation ul li.sub-nav > a:hover:after,
 +
#navigation ul li.sub-nav:hover > a:after {
 +
border-top-color: #256fdf !important;
 +
}
 +
#navigation ul ul li a:hover {
 +
background: #246cde;
 +
}
 +
#navigation {
 +
    position: relative;
 +
    //left: 50%;
 +
    top: 5px;
 +
left:0px;
 +
//    width:960px;
 +
    //margin-left:-480px;
 +
    font-family: "Lucida Sans Unicode", "Lucida Grande", Verdana, Arial, Helvetica, sans-serif;
 +
}
 +
#navigation > ul {
 +
      height: 27px;
 +
      background: #fff;
 +
      border: 1px solid #222;
 +
      padding: 0 5px;
 +
      -moz-border-radius: 4px;
 +
    -webkit-border-radius: 4px;
 +
    border-radius: 4px;
 +
}
 +
#navigation > ul li {
 +
        display: block;
 +
        float: left;
 +
        font-size: 11px;
 +
      line-height: 15px;
 +
      margin: 0 1px;
 +
      margin-top: -2px;
 +
      list-style: none;
 +
      padding-bottom: 15px;
 +
}
 +
#navigation > ul li.right{
 +
        display: block;
 +
        float: right;
 +
        font-size: 11px;
 +
      line-height: 15px;
 +
      margin: 0 1px;
 +
      margin-top: -2px;
 +
      list-style: none;
 +
      padding-bottom: 15px;
 +
}
 +
 +
#navigation > ul li a {
 +
        position: relative;
 +
        display: block;
 +
        float: left;
 +
        padding: 6px 7px 8px 7px;
 +
        border: 1px solid transparent;
 +
        color: #7b7b7b;
 +
        text-decoration: none;
 +
}
 +
#navigation ul li.active > a,
 +
#navigation > ul li a:hover,
 +
#navigation ul li.sub-nav:hover > a {
 +
        color: #fff;
 +
        -moz-border-radius: 4px;
 +
        -webkit-border-radius: 4px;
 +
        border-radius: 4px;
 +
}
 +
#navigation ul li.sub-nav > a:hover:before,
 +
#navigation ul li.sub-nav:hover > a:before {
 +
content: "\00a0";
 +
display: block;
 +
position: absolute;
 +
bottom: -14px;
 +
left: 37%;
 +
width: 0;
 +
height: 0;
 +
border: 7px solid transparent;
 +
}
 +
#navigation ul li.sub-nav > a:hover:after,
 +
#navigation ul li.sub-nav:hover > a:after {
 +
content:"\00a0";
 +
display:block;
 +
position:absolute;
 +
bottom: -13px;
 +
left: 37%;
 +
width: 0;
 +
height: 0;
 +
border: 7px solid transparent;
 +
}     
 +
#navigation ul li ul {
 +
  clear: left;
 +
  position: absolute;
 +
  left: -999em;
 +
  z-index: 999;
 +
  width: 140px;
 +
  background: #fff;
 +
  border: 1px solid #363636;
 +
  list-style: none;
 +
  padding: 5px 4px;
 +
  outline: 1px solid #000;
 +
}
 +
#navigation ul li li {
 +
  display: block;
 +
  padding: 0;
 +
  margin: 0;
 +
}
 +
#navigation ul ul li a {
 +
  border: none;
 +
  background: none;
 +
  color: #000;
 +
  display: block;
 +
  float: left;
 +
  font-size: 12px !important;
 +
  width: 120px;
 +
  padding: 4px 10px 5px 10px;
 +
}
 +
#navigation ul ul li a:hover {
 +
  border: none;
 +
  -moz-border-radius: 0px;
 +
  -webkit-border-radius: 0px;
 +
  border-radius: 0px;
 +
}
 +
#navigation ul li:hover ul,
 +
#navigation ul li.sfhover ul{
 +
  left: auto;
 +
  top: 42px;
 +
}
</style>
</style>
 +
<script>
 +
function writeHref(){
 +
var PageURL = document.URL;
 +
var RightURL = PageURL.substr(21);
 +
var EditIt="https://2010.igem.org/wiki/index.php?title="+RightURL+"&amp;action=edit";
 +
document.write("<a href=\""+EditIt+"\">");
 +
}
 +
</script>
-
<script type="text/javascript" src="http://www.dezinerfolio.com/wp-content/uploads/accordemo/accordian.pack.js"></script>
+
<div style="width:100%">
-
</head>
+
<div id="navigation">
 +
<ul>
-
<body onload="new Accordian('basic-accordian',5,'header_highlight');">
+
<li class="active"><a href="https://2010.igem.org/Team:UCSF">Home</a></li>
-
<div id="apDiv1">
+
-
  <div id="apDiv2">
+
-
    <div id="apDiv3">
+
-
      <div id="apDiv5">
+
-
        <div id="apDiv6"></div>
+
-
        <div id="apDiv7">
+
-
<style type="text/css">
+
-
@import url(http://www.google.com/cse/api/branding.css);
+
-
</style>
+
-
<div class="cse-branding-right" style="background-color:#FFFFFF;color:#000000">
+
-
  <div class="cse-branding-form">
+
-
<form action="https://2010.igem.org/Team:UCSF/Search" id="cse-search-box">
+
-
  <div>
+
-
<input type="hidden" name="cx" value="003596668401458118461:zap8jgrah-m" />
+
-
<input type="hidden" name="cof" value="FORID:9" />
+
-
<input type="hidden" name="ie" value="UTF-8" />
+
-
<input type="text" name="q" size="31" />
+
-
<input type="submit" name="sa" value="Search" />
+
-
  </div>
+
-
</form>
+
-
  </div>
+
-
  <div class="cse-branding-logo">
+
-
<img src="http://www.google.com/images/poweredby_transparent/poweredby_FFFFFF.gif" alt="Google" />
+
-
  </div>
+
-
  <div class="cse-branding-text">
+
-
Custom Search
+
-
  </div>
+
-
</div>
+
-
</div>
+
-
      </div>
+
-
      <div id="apDiv8"></div>
+
-
    </div>
+
-
    <div id="apDiv4"><div style="position:relative;top:0px;left:0px"><img src="https://static.igem.org/mediawiki/2008/0/0e/UCSF2008logo2.jpg" width="180" height="180" /></div><div id="basic-accordian"><!--Parent of the Accordion-->
+
-
<!--Start of each accordion item-->
+
<li class="not-active sub-nav"><a href="https://2010.igem.org/Team:UCSF/Team">Team</a><ul>
-
  <div id="test-header" class="accordion_headings">Home</div><!--Heading of the accordion ( clicked to show n hide ) -->
+
-
 
+
-
  <!--Prefix of heading (the DIV above this) and content (the DIV below this) to be same... eg. foo-header & foo-content-->
+
-
 
+
-
  <div style="display: none;  height: auto; opacity: 0;" id="test-content"><!--DIV which show/hide on click of header-->
+
-
 
+
-
  <!--This DIV is for inline styling like padding...-->
+
-
    <div class="accordion_child">
+
-
    Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Nunc
+
-
ligula nisl, egestas non, pharetra vel, scelerisque accumsan, lacus.
+
-
Proin nibh. Aenean dapibus. Quisque facilisis, ligula ut blandit
+
-
hendrerit, purus neque rhoncus ipsum, sit amet ultrices mauris augue non
+
-
arcu. Donec et sem nec libero viverra accumsan.<br><br> Quisque
+
-
facilisis, ligula ut blandit hendrerit, purus neque rhoncus ipsum, sit
+
-
amet ultrices mauris augue non arcu. Donec et sem nec libero viverra
+
-
accumsan.
+
-
    </div>
+
-
   
+
-
  </div>
+
-
<!--End of each accordion item-->  
+
 +
        <li class="cat-item cat-item-23"><a href="https://igem.org/Team.cgi?year=2010" title="">Team Profile</a></li>
 +
 +
<li class="cat-item cat-item-67"><a href="http://mac.appstorm.net/category/reviews/utilities/" title="">Utilities</a></li>
 +
<li class="cat-item cat-item-296"><a href="http://mac.appstorm.net/category/reviews/video/" title="">Video</a></li>
 +
<li class="cat-item cat-item-9"><a href="http://mac.appstorm.net/category/reviews/web-dev-review/" title="">Web Dev</a></li>
 +
</ul></li>
-
<!--Start of each accordion item-->
+
<li class="not-active sub-nav"><a href="https://2010.igem.org/Team:UCSF/Project">Project</a><ul>
-
  <div id="test1-header" class="accordion_headings header_highlight">About Us</div><!--Heading of the accordion ( clicked to show n hide ) -->
+
        <li class="cat-item cat-item-68"><a href="https://2010.igem.org/Team:UCSF/Project/Overview" title="">Overview</a></li>
-
 
+
<li class="cat-item cat-item-28"><a href="https://2010.igem.org/Team:UCSF/Project/Process" title="">Project Process</a></li>
-
  <!--Prefix of heading (the DIV above this) and content (the DIV below this) to be same... eg. foo-header & foo-content-->
+
<li class="cat-item cat-item-364"><a href="https://2010.igem.org/Team:UCSF/Project/Design" title="">Project Design</a></li>
-
 
+
<li class="cat-item cat-item-201"><a href="https://2010.igem.org/Team:UCSF/Project/Results" title="">Results</a></li>
-
  <div style="display: block;height: auto; opacity: 1;" id="test1-content"><!--DIV which show/hide on click of header-->
+
</ul></li>
-
 
+
-
  <!--This DIV is for inline styling like padding...-->
+
-
    <div class="accordion_child">
+
-
    Quisque facilisis, ligula ut blandit hendrerit, purus neque rhoncus
+
-
ipsum, sit amet ultrices mauris augue non arcu. Donec et sem nec libero
+
-
viverra accumsan.
+
-
    </div>
+
-
   
+
-
  </div>
+
-
<!--End of each accordion item-->  
+
 +
<li class="not-active sub-nav"><a href="https://2010.igem.org/Team:UCSF/Notebook">Notebook</a><ul>
 +
  <li class="cat-item cat-item-322"><a href="https://2010.igem.org/Team:UCSF/Team/Notebook/Ryan_Liang" title="">Ryan Liang</a></li>
 +
<li class="cat-item cat-item-483"><a href="https://2010.igem.org/Team:UCSF/Notebook/Ethan_Chan" title="">Ethan Chan</a></li>
 +
<li class="cat-item cat-item-121"><a href="https://2010.igem.org/Team:UCSF/Notebook/Eric_Wong" title="">Eric Wong</a></li>
 +
<li class="cat-item cat-item-684"><a href="https://2010.igem.org/Team:UCSF/Notebook/Carmen_Zhou" title="">Carmen Zhou</a></li>
 +
<li class="cat-item cat-item-19"><a href="https://2010.igem.org/Team:UCSF/Notebook/Lianna_Fung" title="">Lianna Fung</a></li>
 +
<li class="cat-item cat-item-76"><a href="https://2010.igem.org/Team:UCSF/Notebook/Connor_Grant" title="">Connor Grant</a></li>
 +
<li class="cat-item cat-item-13"><a href="https://2010.igem.org/Team:UCSF/Notebook/Hannah Yan" title="">Hannah Yan</a></li>
 +
<li class="cat-item cat-item-184"><a href="https://2010.igem.org/Team:UCSF/Notebook/John Elam" title="">John Elam</a></li>
 +
<li class="cat-item cat-item-235"><a href="https://2010.igem.org/Team:UCSF/Notebook/Crystal_Liu" title="">Crystal Liu</a></li>
 +
<li class="cat-item cat-item-264"><a href="https://2010.igem.org/Team:UCSF/Notebook/Sam_Zorn" title="">Sam Zorn</a></li>
 +
<li class="cat-item cat-item-556"><a href="https://2010.igem.org/Team:UCSF/Notebook/Min_Lin" title="">Min Lin</a></li>
 +
</ul></li>
-
<!--Start of each accordion item-->
+
<li class="not-active"><a href="file:///C:/Users/Min%20Lin/Desktop/2.html">Parts</a></li>
-
  <div id="test2-header" class="accordion_headings">Downloads</div><!--Heading of the accordion ( clicked to show n hide ) -->
+
-
 
+
-
  <!--Prefix of heading (the DIV above this) and content (the DIV below this) to be same... eg. foo-header & foo-content-->
+
-
 
+
-
  <div style="display: none;height:auto;" id="test2-content"><!--DIV which show/hide on click of header-->
+
-
 
+
-
  <!--This DIV is for inline styling like padding...-->
+
-
    <div class="accordion_child">
+
-
    Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Nunc
+
-
ligula nisl, egestas non, pharetra vel, scelerisque accumsan, lacus.
+
-
Proin nibh. Aenean dapibus. Quisque facilisis, ligula ut blandit
+
-
hendrerit, purus neque rhoncus ipsum, sit amet ultrices mauris augue non
+
-
arcu. Donec et sem nec libero viverra accumsan.<br>
+
-
    </div>
+
-
   
+
-
  </div>
+
-
<!--End of each accordion item-->  
+
-
</div><!--End of accordion parent-->
+
<li class="not-active sub-nav"><a href="http://mac.appstorm.net/category/general/">Safety</a><ul> <li class="cat-item cat-item-99"><a href="http://mac.appstorm.net/category/general/app-news/" title="">App News</a>
 +
</li>
 +
<li class="cat-item cat-item-10"><a href="http://mac.appstorm.net/category/general/appstorm-news/" title="">AppStorm News</a>
 +
</li>
 +
<li class="cat-item cat-item-45"><a href="http://mac.appstorm.net/category/general/competitions/" title="">Competitions</a>
 +
</li>
 +
<li class="cat-item cat-item-287"><a href="http://mac.appstorm.net/category/general/live-coverage/" title="">Live Coverage</a>
 +
</li>
 +
<li class="cat-item cat-item-31"><a href="http://mac.appstorm.net/category/general/mactastik/" title="">Mactastik</a>
 +
</li>
 +
<li class="cat-item cat-item-371"><a href="http://mac.appstorm.net/category/general/screencasts/" title="">Screencasts</a>
 +
</li>
 +
<li class="cat-item cat-item-219"><a href="http://mac.appstorm.net/category/general/sponsors/" title="">Sponsors</a>
 +
</li>
 +
</ul></li>
 +
 
 +
<li class="not-active"><a href="http://mac.appstorm.net/about/">Cooperation</a></li>
 +
<li class="not-active"><a href="http://mac.appstorm.net/about/">Sponser</a></li>
 +
<li class="right"><script>writeHref();</script>Edit</a></li>
 +
<li class="right"><a href="https://igem.org/Login">Log in</a></li>
 +
</ul>
</div>
</div>
-
  </div>
+
 
 +
 
 +
<div style="width:100%px;background-color:#FFfF04;margin-top:0px;-moz-border-radius: 4px;
 +
            -webkit-border-radius: 4px;
 +
            border-radius: 4px;padding-bottom:10px;">
 +
<form action="https://2010.igem.org/Team:UCSF/Search" id="cse-search-box" style="margin:10px;">
 +
<h3>Search UCSF</h3>
 +
<div>
 +
    <input type="hidden" name="cx" value="003596668401458118461:zap8jgrah-m" />
 +
    <input type="hidden" name="cof" value="FORID:9" />
 +
    <input type="hidden" name="ie" value="UTF-8" />
 +
    <input type="text" name="q" size="81" />
 +
    <input type="submit" name="sa" value="Search" size="8"/>
 +
</div>
 +
</form>
</div>
</div>
-
</body>
 
-
<script>
+
 
-
var con = document.getElementById('content');
+
<script type="text/javascript" src="http://www.google.com/cse/brand?form=cse-search-box&lang=en"></script>
-
var bodycon = document.getElementById('bodyContent');
+
<!--<img src="https://static.igem.org/mediawiki/2010/e/ef/UCSF_2010_Transparent_NK.png" width="150"/>-->
-
var glo = document.getElementById('globalWrapper');
+
<!--<img src="https://static.igem.org/mediawiki/igem.org/9/9a/Natural_Killer.jpg" width="196"/>-->
-
//glo.removeChild(con);
+
 
-
//document.body.removeChild(glo);
+
 
-
//document.body.appendChild(bodycon);
+
<div id="cse-search-results" style="margin-left:90px;"></div>
 +
 
 +
<script type="text/javascript">
 +
  var googleSearchIframeName = "cse-search-results";
 +
  var googleSearchFormName = "cse-search-box";
 +
  var googleSearchFrameWidth = 600;
 +
  var googleSearchDomain = "www.google.com";
 +
  var googleSearchPath = "/cse";
</script>
</script>
 +
<script type="text/javascript" src="http://www.google.com/afsonline/show_afs_search.js"></script>
 +
 +
 +
</div>
</html>
</html>

Latest revision as of 04:15, 24 September 2010