I\'m trying to figure out how get the page automaticlly scroll to a specific div when the page has loaded. I have tried using the jQuery scroll function, but cant get it to
$(document).ready(function(){ $("html, body").animate({ scrollTop: $('.sb-menu').offset().top }, 1000); });