davist11 / jQuery-One-Page-Nav

Smooth scrolling and smart navigation when user scrolls on one-page sites.
http://davist11.github.com/jQuery-One-Page-Nav/
MIT License
1.52k stars 501 forks source link

Lazy Load #148

Open ixlipixli opened 8 years ago

ixlipixli commented 8 years ago

Hi,

I am having trouble to make onepagenav work with lazy load. When I try to get to the current item (which is not the first) when first enter a page the scrolling doesn't work properly anymore. The distance calculated by onepagenav is wrong since the images are not loaded yet because of the lazy load.

Is there any way to fix this?

ecr007 commented 8 years ago

I have this problem