Team:CityU HK/Template
From 2014.igem.org
(Difference between revisions)
Line 128: | Line 128: | ||
<script> | <script> | ||
$(document).ready(function() { | $(document).ready(function() { | ||
- | $(' | + | $('#btn-custom').click(function() { |
$('html,body').animate({ | $('html,body').animate({ | ||
scrollTop:$($.attr(this,'href')).offset().top},500); | scrollTop:$($.attr(this,'href')).offset().top},500); |
Revision as of 07:14, 25 September 2014