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.")
 
(11 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;
+
-
});
+
-
+
-
$('.section_page_link').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="https://2012.igem.org/Team:MIT/ResultsOverview" class="section_page_link">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="https://2012.igem.org/Team:MIT/ResultsFoundational" class="section_page_link">Foundational</a></h3> <!-- Accordion index 1 -->
+
-
<div class="col_list">
+
-
<ul>
+
-
    <li id="https://2012.igem.org/Team:MIT/ResultsFoundational#designbio">Design</li>
+
-
    <li id="https://2012.igem.org/Team:MIT/ResultsFoundational#NADbio">Nucleic Acid Delivery</li>
+
-
            <li id="https://2012.igem.org/Team:MIT/ResultsFoundational#SDbio"><em>In Vivo</em> Strand Displacement </li>
+
-
+
-
+
-
 
+
-
</ul>
+
-
    </div><!-- end foundational -->
+
-
 
+
-
<h3><a href="https://2012.igem.org/Team:MIT/ResultsSensing" class="section_page_link">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="https://2012.igem.org/Team:MIT/ResultsProcessing" class="section_page_link">Processing</a></h3> <!-- Accordion index 3 -->
+
-
+
-
      <div class="col_list">
+
-
          <ul>
+
-
            <li id="https://2012.igem.org/Team:MIT/ResultsProcessing#m2bio"> In Vitro Not Gate </li>
+
-
            <li id="https://2012.igem.org/Team:MIT/ResultsProcessing#model"> Modeling </li>
+
-
            <li id="https://2012.igem.org/Team:MIT/ResultsProcessing#m3bio"> Hammerhead Ribozymes </li>
+
-
 
+
-
          </ul>
+
-
        </div><!-- end processing-->
+
-
<h3><a href="https://2012.igem.org/Team:MIT/ResultsActuation" class="section_page_link">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="https://2012.igem.org/Team:MIT/ResultsBiobricks" class="section_page_link">Our Biobricks</a></h3> <!-- Accordion index 5 -->
+
-
<div class="col_list">
+
-
<ul>
+
-
    <li id="https://2012.igem.org/Team:MIT/ResultsBiobricks#b1bio">Favorites</li>
+
-
    <li id="https://2012.igem.org/Team:MIT/ResultsBiobricks#b2bio">All BioBricks</li>
+
-
</ul>
+
-
    </div><!-- end biobricks -->
+
-
 
+
-
<h3><a href="https://2012.igem.org/Team:MIT/ResultsAttributions" class="section_page_link">Attributions</a></h3> <!-- Accordion index 6 -->
+
-
<div class="col_list">
+
-
        <ul><li id="https://2012.igem.org/Team:MIT/ResultsAttributions#attributionsbio">Attributions</li></ul>
+
-
    </div><!-- end attributions -->
+
-
</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.