Good morning, I have spent quite a lot of time researching and testing. However I cannot get this to work and not sure if it is me or how I am putting it into the JS section of the page.
I would like it so when the page has completely loaded it would scroll to the ID ‘SearchOptions’.
My code which I put in the JS section of the page (Pro > Edit Page > click on JS on the left hand side)
$(window).load(function() {
$('html, body').animate({
scrollTop: $('#SearchOptions').offset().top}, 1000);
});
What am I doing wrong? Thank you!