Template:Team:Cambridge/CAM 2012 TEMPLATE HEAD PROJECT
From 2012.igem.org
(Difference between revisions)
Pdmallaband (Talk | contribs) |
Pdmallaband (Talk | contribs) |
||
Line 39: | Line 39: | ||
function ScrollBit(x, y){ | function ScrollBit(x, y){ | ||
- | window.scrollTo( | + | window.scrollTo(x,y); |
} | } | ||
Line 94: | Line 94: | ||
$(document).ready(function() { | $(document).ready(function() { | ||
- | + | ||
var top = $('#cam_top_logos').offset().top - parseFloat($('#cam_top_logos').css('marginTop').replace(/auto/, 0)); | var top = $('#cam_top_logos').offset().top - parseFloat($('#cam_top_logos').css('marginTop').replace(/auto/, 0)); |
Revision as of 13:55, 26 September 2012