Template:Team:Cambridge/CAM 2012 TEMPLATE HEAD PROJECT
From 2012.igem.org
(Difference between revisions)
Pdmallaband (Talk | contribs) |
Pdmallaband (Talk | contribs) |
||
Line 70: | Line 70: | ||
p:first-child { display: none;} | p:first-child { display: none;} | ||
#cam_top_logos { | #cam_top_logos { | ||
- | |||
top: 0; | top: 0; | ||
position: absolute; | position: absolute; | ||
Line 93: | Line 92: | ||
<script type="text/javascript"> | <script type="text/javascript"> | ||
$(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)); | ||
Line 130: | Line 127: | ||
if(this.hash.substring(1) == "Luciferase_and_instrumentation" ) { | if(this.hash.substring(1) == "Luciferase_and_instrumentation" ) { | ||
- | window.scrollTo( | + | window.scrollTo(100,500); |
} | } | ||
}); | }); |
Revision as of 14:37, 26 September 2012