Team:Cornell/notebook
From 2014.igem.org
(Difference between revisions)
Line 5: | Line 5: | ||
$('li.notebook').addClass('active'); | $('li.notebook').addClass('active'); | ||
$('li.n_over').addClass('active'); | $('li.n_over').addClass('active'); | ||
+ | |||
+ | $(".affix").css("width", $(".big").width() - $(".little").width()); | ||
+ | }); | ||
+ | |||
+ | $(window).resize(function() { | ||
+ | $(".affix").css("width", $(".big").width() - $(".little").width()); | ||
}); | }); | ||
</script> | </script> | ||
Line 15: | Line 21: | ||
</div> | </div> | ||
<div class="container"> | <div class="container"> | ||
- | <div class="row" data-spy="scroll" > | + | <div class="row big" data-spy="scroll" > |
- | <div class="col-xs-2"> | + | <div class="col-xs-2 side"> |
- | <ul class="nav nav-pills nav-stacked" data-spy="affix" data-offset-top=" | + | <ul class="nav nav-pills nav-stacked" data-spy="affix" data-offset-top="275" style="width:165px; margin-top: 27px;"> |
<li class="active"><a href="#week1">Week 1</a></li> | <li class="active"><a href="#week1">Week 1</a></li> | ||
<li><a href="#week2">Week 2</a></li> | <li><a href="#week2">Week 2</a></li> | ||
Line 23: | Line 29: | ||
</ul> | </ul> | ||
</div> | </div> | ||
- | <div class="col-xs-10"> | + | <div class="col-xs-10 little"> |
<h3 id="week1">Week 1</h3> | <h3 id="week1">Week 1</h3> | ||
<hr> | <hr> |
Revision as of 21:24, 13 October 2014
Notebook
Week 1
-
Heading
Donec ullamcorper nulla non metus auctor fringilla. Vestibulum id ligula porta felis euismod semper. Praesent commodo cursus magna, vel scelerisque nisl consectetur. Fusce dapibus, tellus ac cursus commodo. -
Heading
Donec ullamcorper nulla non metus auctor fringilla. Vestibulum id ligula porta felis euismod semper. Praesent commodo cursus magna, vel scelerisque nisl consectetur. Fusce dapibus, tellus ac cursus commodo.
Week 2
-
Heading
Donec ullamcorper nulla non metus auctor fringilla. Vestibulum id ligula porta felis euismod semper. Praesent commodo cursus magna, vel scelerisque nisl consectetur. Fusce dapibus, tellus ac cursus commodo. -
Heading
Donec ullamcorper nulla non metus auctor fringilla. Vestibulum id ligula porta felis euismod semper. Praesent commodo cursus magna, vel scelerisque nisl consectetur. Fusce dapibus, tellus ac cursus commodo.
Week 3
-
Heading
Donec ullamcorper nulla non metus auctor fringilla. Vestibulum id ligula porta felis euismod semper. Praesent commodo cursus magna, vel scelerisque nisl consectetur. Fusce dapibus, tellus ac cursus commodo.
-
Heading
Donec ullamcorper nulla non metus auctor fringilla. Vestibulum id ligula porta felis euismod semper. Praesent commodo cursus magna, vel scelerisque nisl consectetur. Fusce dapibus, tellus ac cursus commodo.