Difference between revisions of "Team:Aalto-Helsinki/InterLabBook"
(trying to add responsive navigation, doesn't work yet for some reason..) |
(fixed the responsive navigation) |
||
Line 86: | Line 86: | ||
<!-- Week 1 below --> | <!-- Week 1 below --> | ||
− | <section id="week1" class="active" data-anchor="week1"> | + | <section id="week1" class="active" data-anchor="week1" > |
<h2>Week 1</h2> | <h2>Week 1</h2> | ||
<table > | <table > | ||
Line 399: | Line 399: | ||
</tr> | </tr> | ||
</table> | </table> | ||
− | |||
− | |||
− | |||
<div class="inner-container" style="margin:5% 20% 0% 25%;padding-bottom:10%;"> | <div class="inner-container" style="margin:5% 20% 0% 25%;padding-bottom:10%;"> | ||
<p style="font-size:16px">Due to the limited time we had to use for our project, we had to abort the interlab measurement study. We were able to construct two devices and measure the GFP from these. We were unable to build the device with J23106 promoter. </p></div> | <p style="font-size:16px">Due to the limited time we had to use for our project, we had to abort the interlab measurement study. We were able to construct two devices and measure the GFP from these. We were unable to build the device with J23106 promoter. </p></div> | ||
+ | |||
+ | </section> | ||
+ | <!-- Week 6 above --> | ||
</div><!-- Background end--> | </div><!-- Background end--> | ||
<!-- here scripts to make the site navigation beautiful and responsive. --> | <!-- here scripts to make the site navigation beautiful and responsive. --> | ||
+ | <!-- NOTE: if you copy this script to other pages you'll likely have to modify it to have .inner-container instead of .plasmids in the lower function!! --> | ||
<script> | <script> | ||
Line 429: | Line 430: | ||
var windscroll = $(window).scrollTop(); | var windscroll = $(window).scrollTop(); | ||
if (windscroll >= 100) { | if (windscroll >= 100) { | ||
− | $('. | + | $('.plasmids section').each(function(i) { |
if ($(this).position().top <= windscroll + 20) { | if ($(this).position().top <= windscroll + 20) { | ||
$('#sidenav a.active').removeClass('active'); | $('#sidenav a.active').removeClass('active'); |
Revision as of 08:28, 25 August 2015