Template:MIT-results

From 2012.igem.org

(Difference between revisions)
(Replaced content with "DEPRECATED. DO NOT USE OR EDIT. If a page uses this template, relink with MIT-results2.")
 
(21 intermediate revisions not shown)
Line 1: Line 1:
-
{{MIT-style}}
+
DEPRECATEDDO NOT USE OR EDITIf a page uses this template, relink with MIT-results2.
-
{{MIT-header2}}
+
-
<html>
+
-
<head>
+
-
 
+
-
  <link href="http://ajax.googleapis.com/ajax/libs/jqueryui/1.8/themes/base/jquery-ui.css" rel="stylesheet" type="text/css"/>
+
-
  <script src="http://ajax.googleapis.com/ajax/libs/jquery/1.5/jquery.min.js"></script>
+
-
  <script src="http://ajax.googleapis.com/ajax/libs/jqueryui/1.8/jquery-ui.min.js"></script>
+
-
 
+
-
 
+
-
<!-- TODO: add pre/n buttons -->
+
-
<script>
+
-
 
+
-
$(document).ready(function(){
+
-
  $('.col_list li').css('cursor','pointer');
+
-
  $('.col_list li').hover(function() {
+
-
  $(this).css('background-color','#a3abae');
+
-
  }, function() {
+
-
  $(this).css('background-color','#ffffff');
+
-
});
+
-
 
+
-
$("#accordion").accordion({autoHeight:false});
+
-
 
+
-
$('.col_list li').click(function () {
+
-
  var name = $(this).attr('id');
+
-
  window.location.href=name;
+
-
});
+
-
+
-
$('.eerik_section').click(function () {
+
-
    var url = $(this).attr('href');
+
-
    if (window.location.href.indexOf(url) == -1) {
+
-
        window.location.href=$(this).attr('href');
+
-
    }
+
-
});
+
-
 
+
-
 
+
-
});
+
-
 
+
-
 
+
-
//Scrollbar moving stuff
+
-
$(function() {
+
-
 
+
-
var $sidebar  = $("#col_nav"),
+
-
offset    = $sidebar.offset(),
+
-
topPadding = 0,
+
-
$window = $(window);
+
-
 
+
-
 
+
-
$window.scroll(function() {
+
-
if ($window.scrollTop() > offset.top - topPadding) {
+
-
  $sidebar.css({'margin-top': $window.scrollTop() - offset.top + topPadding})
+
-
} else {
+
-
  $sidebar.css({'margin-top': 0})
+
-
}
+
-
});
+
-
//Moving the menu down the screen, if we jump to the middle of the page.
+
-
$(window).scroll();
+
-
 
+
-
/*
+
-
$window.scroll(function() {
+
-
if ($window.scrollTop() > offset.top - topPadding) {
+
-
  $sidebar.stop().animate({
+
-
  marginTop: $window.scrollTop() - offset.top + topPadding,
+
-
  }, 200);
+
-
} else {
+
-
  $sidebar.stop().animate({
+
-
  marginTop: 0
+
-
  }, 200);
+
-
}
+
-
});
+
-
*/
+
-
});
+
-
 
+
-
</script>
+
-
</head>
+
-
 
+
-
<body>
+
-
 
+
-
 
+
-
<div id="col_nav">
+
-
    <div id="accordion">
+
-
 
+
-
<h3><a href="#">Overview</a></h3> <!-- Accordion index 0 -->
+
-
<div class="col_list">
+
-
<ul>
+
-
    <li id="https://2012.igem.org/Team:MIT/ResultsOverview">Placeholder</li>
+
-
</ul>
+
-
    </div><!-- end overview -->
+
-
 
+
-
<h3><a href="#">Foundational</a></h3> <!-- Accordion index 1 -->
+
-
<div class="col_list">
+
-
<ul>
+
-
    <li id="https://2012.igem.org/Team:MIT/ResultsFoundational#b1bio">In Vitro </li>
+
-
    <li id="https://2012.igem.org/Team:MIT/ResultsFoundational#b2bio">Nucleic Acid Delivery</li>
+
-
            <li id="https://2012.igem.org/Team:MIT/ResultsFoundational#b3bio">In Vivo Strand Displacement </li>
+
-
+
-
+
-
 
+
-
</ul>
+
-
    </div><!-- end foundational -->
+
-
 
+
-
<h3><a href="https://2012.igem.org/Team:MIT/ResultsSensing" class="eerik_section">Sensing</a></h3> <!-- Accordion index 2 -->
+
-
+
-
      <div class="col_list">
+
-
          <ul>
+
-
            <li id="https://2012.igem.org/Team:MIT/ResultsSensing#sensing1bio">Design</li>
+
-
            <li id="https://2012.igem.org/Team:MIT/ResultsSensing#sensing2bio">Modeling</li>
+
-
            <li id="https://2012.igem.org/Team:MIT/ResultsSensing#sensing3bio"><em>In vitro</em> results</li>
+
-
          </ul>
+
-
        </div><!-- end sensing-->
+
-
 
+
-
<h3><a href="#">Processing</a></h3> <!-- Accordion index 3 -->
+
-
+
-
      <div class="col_list">
+
-
          <ul>
+
-
            <li id="https://2012.igem.org/Team:MIT/ResultsProcessing#m1bio">X Modeling </li>
+
-
            <li id="https://2012.igem.org/Team:MIT/ResultsProcessing#m2bio"> In Vitro Not Gate </li>
+
-
            <li id="https://2012.igem.org/Team:MIT/ResultsProcessing#m3bio">X Hammerhead Ribozymes </li>
+
-
 
+
-
          </ul>
+
-
        </div><!-- end processing-->
+
-
<h3><a href="#">Actuation</a></h3> <!-- Accordion index 4 -->
+
-
+
-
      <div class="col_list">
+
-
          <ul>
+
-
            <li id="https://2012.igem.org/Team:MIT/ResultsActuation#m40bio"> Design </li>
+
-
            <li id="https://2012.igem.org/Team:MIT/ResultsActuation#m4bio">X Modeling </li>
+
-
            <li id="https://2012.igem.org/Team:MIT/ResultsActuation#m5bio">X In Vitro  </li>
+
-
            <li id="https://2012.igem.org/Team:MIT/ResultsActuation#m6bio">X In Vivo </li>
+
-
 
+
-
          </ul>
+
-
        </div><!-- end actuation-->
+
-
 
+
-
<h3><a href="#">Our Biobricks</a></h3> <!-- Accordion index 5 -->
+
-
<div class="col_list">
+
-
<ul>
+
-
    <li id="https://2012.igem.org/Team:MIT/ResultsBiobricks">Placeholder</li>
+
-
 
+
-
+
-
+
-
 
+
-
</ul>
+
-
    </div><!-- end biobricks -->
+
-
</div><!-- end accordion-->
+
-
 
+
-
</div><!--end col_nav-->
+

Latest revision as of 00:07, 27 October 2012

DEPRECATED. DO NOT USE OR EDIT. If a page uses this template, relink with MIT-results2.