|
|
(16 intermediate revisions not shown) |
Line 1: |
Line 1: |
- | {{MIT-style}}
| + | DEPRECATED. DO NOT USE OR EDIT. If 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#b4bio">Design</li>
| + | |
- | <li id="https://2012.igem.org/Team:MIT/ResultsFoundational#b1bio"><em>In Vitro</em></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"><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#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="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 Parts</li>
| + | |
- | </ul>
| + | |
- | </div><!-- end biobricks -->
| + | |
- | </div><!-- end accordion-->
| + | |
- | | + | |
- | </div><!--end col_nav-->
| + | |
DEPRECATED. DO NOT USE OR EDIT. If a page uses this template, relink with MIT-results2.