Recently, I created a website using WordPress and encountered an issue with implementing a scrolling arrow on the page. The current setup only allows the arrow to scroll down once, whereas I need it to navigate through the entire page smoothly. Here is the code snippet in question:
<script type="text/javascript">
$(document).ready(function(){
$('.ir-abajo').click(function(){
$('body, html').animate({
scrollTop: '220px'
}, 200);
});
});
</script>