Team:UiOslo Norway/Notebook
From 2014.igem.org
StianLagstad (Talk | contribs) |
StianLagstad (Talk | contribs) |
||
Line 15: | Line 15: | ||
<div> | <div> | ||
<ul class="nav nav-pills"> | <ul class="nav nav-pills"> | ||
- | <li>[ | + | <li><span class="plainlinks">[http://www.wikipedia.org Wikipedia]</span></li> |
<li><a href="#" class="weekLink" id="w18-link">Week 18</a></li> | <li><a href="#" class="weekLink" id="w18-link">Week 18</a></li> | ||
<li><a href="#" class="weekLink" id="w19-link">Week 19</a></li> | <li><a href="#" class="weekLink" id="w19-link">Week 19</a></li> |
Revision as of 16:24, 14 August 2014
Contents |
Notebook
Welcome to our notebook! Here you can see what we've done each week in the lab, in media and everything else. Click below to navigate between weeks.
May
June
July
August
September
October
Week 18
Thursday
Lorem ipsum dolor sit amet, consectetur adipisicing elit. Dolor, eos.
- This
- And that
This text is in italics because of the em tag.
This text is bold because of the strong tag
Friday
Nothing much yo.
Week 19
Thursday
Lorem ipsum dolor sit amet, consectetur adipisicing elit. Dolor, eos.
- This
- And that
This text is in italics because of the em tag.
This text is bold because of the strong tag
Friday
Nothing much yo.
<script> $(document).ready(function(){
// set default visible week $('#w18div').show(); $('#w18-link').parent().attr('class','active');
$('.weekLink').on('click', function() { var id = $(this).attr('id').split("-"); id = id[0]; // hide all weeks $('.weekDiv').hide(); // remove class active from all li-elements $('.weekLink').parent().removeClass('active'); // show this specific week $('#' + id + 'div').show(); $('#' + id + '-link').parent().attr('class','active'); });
}) </script>