Scrolling options?
-
jQuery('html, body').animate({scrollTop: jQuery('.home_map').offset().top-50}, 2100);
That is the code for scrolling, but I would like to edit it so that it scrolls to just above the location title and search button? Any ideas if this is possible?
I tried changing the top offset, but having 2 different size screens I can already see that different size screens scroll to different points..
Any ideas would be appreciated, thanks!
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Scrolling options?’ is closed to new replies.