forked from hummypkg/webif
14 lines
415 B
Plaintext
14 lines
415 B
Plaintext
|
puts {
|
||
|
<script type="text/javascript" src="/js/jquery.ui.totop.js"></script>
|
||
|
<script type="text/javascript" src="/js/easing.js"></script>
|
||
|
<link href=/css/ui.totop.css rel=stylesheet type=text/css />
|
||
|
<script type=text/javascript>
|
||
|
$(document).ready(function() {
|
||
|
$().UItoTop({easingType: 'easeOutQuart'});
|
||
|
$('.backtotop').click(function() {
|
||
|
$('html, body').animate({scrollTop: 0}, 500);
|
||
|
});
|
||
|
});
|
||
|
</script>
|
||
|
}
|