Syedjafri97 (Talk | contribs) |
Syedjafri97 (Talk | contribs) |
||
Line 225: | Line 225: | ||
<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/0/0d/T--UofC_Calgary--scrollnotebook.jpg" alt="1" type="image"/> | <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"/> | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
</a> | </a> | ||
<img style="width:100%; height: 100%" src="https://static.igem.org/mediawiki/2016/7/77/T--UofC_Calgary--bg_team.jpg" alt="bg" /> | <img style="width:100%; height: 100%" src="https://static.igem.org/mediawiki/2016/7/77/T--UofC_Calgary--bg_team.jpg" alt="bg" /> | ||
Line 566: | Line 559: | ||
<!-- END: CORE PLUGINS --> | <!-- END: CORE PLUGINS --> | ||
<!-- BEGIN: LAYOUT PLUGINS --> | <!-- BEGIN: LAYOUT PLUGINS --> | ||
− | + | <script> | |
+ | $("#img-scroll").click(function() { | ||
+ | $('html,body').animate({ | ||
+ | scrollTop: $("#first").offset().top}, | ||
+ | 'slow'); | ||
+ | }); | ||
+ | </script> | ||
<!--<script> | <!--<script> | ||
$(document).ready(function() { | $(document).ready(function() { |
Revision as of 17:59, 9 September 2016