Line 17: | Line 17: | ||
<a class="list-group-item list-group-item-action" href="#list-item-5">Human Practice</a> | <a class="list-group-item list-group-item-action" href="#list-item-5">Human Practice</a> | ||
<a class="list-group-item list-group-item-action" href="#list-item-6">Presentation</a> | <a class="list-group-item list-group-item-action" href="#list-item-6">Presentation</a> | ||
+ | <a class="list-group-item list-group-item-action" href="#"><i class="fa fa-arrow-up fa-1x" aria-hidden="true"></i></a> | ||
</div> | </div> | ||
</div> | </div> | ||
Line 131: | Line 132: | ||
$('#sidelist').removeAttr('style'); | $('#sidelist').removeAttr('style'); | ||
} | } | ||
+ | }); | ||
+ | $(function(){ | ||
+ | $('i.fa-arrow-up').click(function(){ | ||
+ | $('html, body').animate({scrollTop:0},600); | ||
+ | return false; | ||
+ | }); | ||
}); | }); | ||
}); | }); |
Revision as of 08:36, 20 August 2018