Weronika77 (Talk | contribs) |
|||
(15 intermediate revisions by 4 users not shown) | |||
Line 4: | Line 4: | ||
<meta http-equiv="x-ua-compatible" content="IE=edge" /> | <meta http-equiv="x-ua-compatible" content="IE=edge" /> | ||
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css"> | <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css"> | ||
− | + | <script> | |
+ | $('.js-anchor-link').click(function(e){ | ||
+ | e.preventDefault(); | ||
+ | var target = $($(this).attr('href')); | ||
+ | if(target.length){ | ||
+ | var scrollTo = target.offset().top; | ||
+ | $('body, html').animate({scrollTop: scrollTo+'px'}, 800); | ||
+ | } | ||
+ | }); | ||
+ | </script> | ||
<style> | <style> | ||
/* om MediaWiki style weg te halen*/ | /* om MediaWiki style weg te halen*/ | ||
Line 22: | Line 31: | ||
color: #00A6D6 | color: #00A6D6 | ||
} | } | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
+ | |||
</style> | </style> | ||
</head> | </head> | ||
Line 95: | Line 94: | ||
</div> | </div> | ||
</div> | </div> | ||
− | + | <div class="dropdowntu"> | |
<button class="dropbtn"><b>Parts</b> | <button class="dropbtn"><b>Parts</b> | ||
<i class="fa fa-caret-down"></i> | <i class="fa fa-caret-down"></i> | ||
Line 101: | Line 100: | ||
<div class="dropdown-content"> | <div class="dropdown-content"> | ||
<a href="https://2019.igem.org/Team:TUDelft/Parts">Parts Overview</a> | <a href="https://2019.igem.org/Team:TUDelft/Parts">Parts Overview</a> | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
</div> | </div> | ||
</div> | </div> | ||
+ | |||
+ | |||
+ | |||
<div class="dropdowntu"> | <div class="dropdowntu"> | ||
<button class="dropbtn"><b>Human Practices</b> | <button class="dropbtn"><b>Human Practices</b> | ||
Line 146: | Line 143: | ||
</div> | </div> | ||
</div> | </div> | ||
+ | |||
+ | |||
+ | |||
<a class="social" href="mailto:igem@tudelft.nl"><img id="social" src="https://static.igem.org/mediawiki/2019/b/b4/T--TUDELFT--mailicon.png" alt="Email" /></a> | <a class="social" href="mailto:igem@tudelft.nl"><img id="social" src="https://static.igem.org/mediawiki/2019/b/b4/T--TUDELFT--mailicon.png" alt="Email" /></a> |
Latest revision as of 04:00, 24 November 2019