Syedjafri97 (Talk | contribs) |
Syedjafri97 (Talk | contribs) |
||
Line 224: | Line 224: | ||
<div style="position: relative;display: inline-block;"> | <div style="position: relative;display: inline-block;"> | ||
<a id="img-scroll"> | <a id="img-scroll"> | ||
− | <img style="position:absolute;left:46%;top:87%;max-width: 10%;cursor: pointer;" src="https://static.igem.org/mediawiki/2016/ | + | <img style="position:absolute;left:46%;top:87%;max-width: 10%;cursor: pointer;" src="https://static.igem.org/mediawiki/2016/0/0d/T--UofC_Calgary--scrollnotebook.jpg" alt="1" type="image"/> |
+ | <script> | ||
+ | $("#img-scroll").click(function() { | ||
+ | $('html,body').animate({ | ||
+ | scrollTop: $("#first").offset().top}, | ||
+ | 'slow'); | ||
+ | }); | ||
+ | </script> | ||
</a> | </a> | ||
− | <img style="width:100%; height: 100%" src="https://static.igem.org/mediawiki/2016/ | + | <img style="width:100%; height: 100%" src="https://static.igem.org/mediawiki/2016/7/77/T--UofC_Calgary--bg_team.jpg" alt="bg" /> |
</div> | </div> |
Revision as of 17:58, 9 September 2016