flesler / jquery.localScroll

Animated anchor navigation made easy with jQuery

Home Page:http://demos.flesler.com/jquery/localScroll/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Margin at top

alokjkumar opened this issue · comments

I have a menu at the top of the page which is fixed in position, therefore I need a margin of 70px if you understand what I mean, so the browser actually scrolls 70px less than it otherwise would. Any ideas?
Great plugin though thanks!

Hi, you can use the setting "inherited" from jquery.scrollTo called offset.
Try adding {offset:-70}

On Fri, May 17, 2013 at 6:11 PM, Alok Kumar notifications@github.comwrote:

I have a menu at the top of the page which is fixed in position, therefore
I need a margin of 70px if you understand what I mean, so the browser
actually scrolls 70px less than it otherwise would. Any ideas?
Great plugin though thanks!


Reply to this email directly or view it on GitHubhttps://github.com//issues/11
.

Ariel Flesler

works like a dream. thanks :) 👍