lcdsantos / menuspy

A JavaScript library to make navigation menus highlight the item based on currently in view section.
https://leocs.me/menuspy/
MIT License
303 stars 38 forks source link

Can't add an offset to use it with a fixed navbar #16

Open isaacsa51 opened 5 years ago

isaacsa51 commented 5 years ago

Hi, I don't know if you are going to reply to this, but your library is very helpful to me actually, I'm new to JS so maybe is a fault of mine, so. I tried to put an offset every time a clicked but the navbar conflicts with the start of the div that I want to see, how can I fix this or is it an issue?

Example in the image:

image