Team:Aalto-Helsinki/Flappycoli
From 2014.igem.org
(Difference between revisions)
Vaakapallo (Talk | contribs) |
|||
Line 63: | Line 63: | ||
<img src="https://static.igem.org/mediawiki/2014/0/0f/Aalto_Helsinki_Logoh_BCH.png" class="img-responsive footerimg on"> | <img src="https://static.igem.org/mediawiki/2014/0/0f/Aalto_Helsinki_Logoh_BCH.png" class="img-responsive footerimg on"> | ||
<img src="https://static.igem.org/mediawiki/2014/d/db/Aalto_Helsinki_Logo_BCH.png" class="img-responsive footerimg off"> | <img src="https://static.igem.org/mediawiki/2014/d/db/Aalto_Helsinki_Logo_BCH.png" class="img-responsive footerimg off"> | ||
+ | </a> | ||
+ | </div> | ||
+ | <div class="footerlogo"> | ||
+ | <a href="http://hyber.aalto.fi/en/"> | ||
+ | <img src="https://static.igem.org/mediawiki/2014/2/24/Aalto_Helsinki_Logoh_HYBER.png" class="img-responsive footerimg on"> | ||
+ | <img src="https://static.igem.org/mediawiki/2014/7/72/Aalto_Helsinki_Logo_HYBER.png" class="img-responsive footerimg off"> | ||
</a> | </a> | ||
</div> | </div> | ||
Line 126: | Line 132: | ||
</footer> | </footer> | ||
</body> | </body> | ||
+ | <script type="text/javascript"> | ||
+ | $(document).ready(function(){ | ||
+ | $('a[href^="#"]').on('click',function (e) { | ||
+ | e.preventDefault(); | ||
+ | |||
+ | var target = this.hash, | ||
+ | $target = $(target); | ||
+ | |||
+ | $('html, body').stop().animate({ | ||
+ | 'scrollTop': $target.offset().top | ||
+ | }, 900, 'swing', function () { | ||
+ | window.location.hash = target; | ||
+ | }); | ||
+ | }); | ||
+ | }); | ||
+ | </script> | ||
+ | <script type="text/javascript"> | ||
+ | if($('.extrabar').affix != undefined){ | ||
+ | $('.extrabar').affix({ | ||
+ | offset: { | ||
+ | top: $('.splash').height() * 1.115 | ||
+ | } | ||
+ | } | ||
+ | )}; | ||
+ | </script> | ||
+ | <script type="text/javascript"> | ||
+ | if($('.update').waypoint != undefined){ | ||
+ | $('.update').waypoint(function(direction) { | ||
+ | var selector = "#" + ($(this)[0].classList[1]) + "-submenu"; | ||
+ | $('.extrabar a.active').removeClass("active"); | ||
+ | $(selector).addClass("active"); | ||
+ | } | ||
+ | )}; | ||
+ | </script> | ||
<script> | <script> | ||
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){ | (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){ |
Revision as of 02:19, 12 October 2014