I am using ascensor.js on my website and I have a problem with jquery function scrollTop - it's doesn't work. I've tried different options but it still nothing happens. How to fix that?
// EDIT
Sorry. Here is the code.
I am using this simply function.
<a id="scrolltop"></a>
$(function () {
$('#scrolltop').click(function () {
$('html, body').animate({
scrollTop: '0px'
},
1500);
return false;
});
});
Now when I was included the ascensor.js it's just stopped working anymore.