I have already been able to click on some link etc, but I would like that when entering a page the vertical scrollbar of the navigator goes down to a specific element, without having to click anything.
I have already been able to click on some link etc, but I would like that when entering a page the vertical scrollbar of the navigator goes down to a specific element, without having to click anything.
Pretty simple, here it goes:
$(document).ready(function () { //Função para que o script comece quando a página carregar
$('html, body').animate({
scrollTop: $('DIV PARA QUAL A PÁGINA IRÁ').offset().top
}, 'slow');
});
Code taken from link