Difference between revisions of "Template:Elanvitalkorea"

Line 260: Line 260:
 
</div>
 
</div>
  
 
 
<a href="https://2015.igem.org/Team:elan_vital_korea"><img class="displayed" src="https://static.igem.org/mediawiki/2015/d/d5/ElanVital_Logo.png" style="max-width:100%;height:auto;" align="middle"></a>
 
 
<br>
 
<br>
 
 
<h3 class="scrolltext" align="middle"> Scroll down to find out more </h3>
 
<a href="#pagedown"><img class="scrollarrow" src="https://static.igem.org/mediawiki/2015/d/d2/Scroll_arrow.png" style="max-width:100%, height:auto;" align="middle"></a>
 
 
<br>
 
<br>
 
<br>
 
<br>
 
<div id="pagedown">
 
</div>
 
 
<script>
 
$(document).ready(function(){
 
$('a[href^="#"]').on('click',function (e) {
 
    e.preventDefault();
 
 
    var target = this.hash;
 
    var $target = $(target);
 
 
    $('html, body').stop().animate({
 
        'scrollTop': $target.offset().top
 
    }, 900, 'swing', function () {
 
        window.location.hash = target;
 
    });
 
});
 
});
 
</script>
 
  
  
  
 
<html>
 
<html>

Revision as of 19:09, 29 August 2015