Team:MIT/ResultsOverview

From 2013.igem.org

(Difference between revisions)
(Blanked the page)
 
(7 intermediate revisions not shown)
Line 1: Line 1:
-
{{MIT-style}}
 
-
{{MIT-header2}}
 
-
{{MIT-results2}}
 
-
<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>
 
-
<script>
 
-
$(document).ready(function(){
 
-
document.title = "MIT iGEM - Motivation";
 
-
  $('#nav_motivation a').first().css('background-color','#333333');
 
-
  $('.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_center">
 
-
<div id="block-content">
 
-
 
-
 
-
 
-
 
-
</div><!--end block-content-->
 
-
</div> <!--End col_center-->
 
-
</body>
 
-
</html>
 

Latest revision as of 05:21, 27 September 2013