Support » Plugin: Gwebpro Store Locator » Scrolling options?

  • Resolved riaanstrydom


    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)
  • jQuery('html, body').animate({scrollTop: jQuery('.location').offset().top-01}, 2100);

    Don’t you just love it when you answer yourself?

Viewing 1 replies (of 1 total)
  • The topic ‘Scrolling options?’ is closed to new replies.