Template:Team:Cambridge/CAM 2012 TEMPLATE HEAD PROJECT

From 2012.igem.org

(Difference between revisions)
Line 61: Line 61:
$(document).ready(function() {
$(document).ready(function() {
-
      
+
     var top = $('#cam_top_logos').offset().top - parseFloat($('#cam_top_logos').css('marginTop').replace(/auto/, 0));
 +
      $(window).scroll(function (event) {
 +
          // what the y position of the scroll is
 +
            var y = $(this).scrollTop();
 +
 
 +
        // whether that's below the form
 +
          if (y >= top) {
 +
        // if so, ad the fixed class
 +
          $('#cam_top_logos').addClass('fixed');
 +
        } else {
 +
          // otherwise remove it
 +
          $('#cam_top_logos').removeClass('fixed');
 +
        }
 +
  });
 +
 
$('.cam_grid_headover h7').css("display","none");
$('.cam_grid_headover h7').css("display","none");
Line 266: Line 280:
     <img src='https://static.igem.org/mediawiki/2012/1/1a/Linearised_logo2.png' USEMAP="#logomap" width="750" height="220"></img>
     <img src='https://static.igem.org/mediawiki/2012/1/1a/Linearised_logo2.png' USEMAP="#logomap" width="750" height="220"></img>
       </div>  
       </div>  
 +
<MAP NAME="logomap">
 +
 +
 +
</MAP>
<div id='cam_pagecontent' class='cam-box-content'>
<div id='cam_pagecontent' class='cam-box-content'>

Revision as of 09:16, 26 September 2012


Previous iGEM teams have charaterised an impressive array of inducible promoters, along with other elements of biosensing circuitry... Read More