-
Notifications
You must be signed in to change notification settings - Fork 45
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Cannot read property 'offsetTop' #7
Comments
Thanks for letting me know, do you think it'd be possible for you to host your site somewhere so I can directly debug from there? |
Hi Daniel, thanks for the fast reply, the site is online at: www.ib-barwich.de/test I tried to figure out if there is any interacting with other scripts used by the site, but could not find the problem yet. |
I took a look at your markup. Right now, the structure needs to be:
Where the So you'd need to structure it that way. Also for the time being, hybrid scroll doesn't work at the bottom #8, so you'd have to scrolljack down to the 'Contact' section. But I aim to fix this soon. Please let me know if that's possible for you, and whether you're able to resolve the issue! |
I got the same problem using html5 tags structure. Solved it by replacing css selector used on smartscroll.js, line 106: @d4nyll is there any particular reason you used |
@maoosi I used |
Because I think you can replace all your |
@maoosi That's a very good point I didn't consider. I will update it in the next push! Thanks! |
I tried to use this fantastic plug-in and it works well, as long there is no navigation bar at the top of the site.
When using the bootstrap navigation bar, smartscroll generates the error "Cannot read property 'offsetTop'" on chrome or a "Die Eigenschaft "offsetTop" eines undefinierten oder Nullverweises kann nicht abgerufen werden." (property "offsetTop" of a undefined Null-reference could not be read) on IE.
Is it possible to set an offset for the page top ?
The text was updated successfully, but these errors were encountered: