You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jan 24, 2018. It is now read-only.
currently, data-menu-offset can't handle percentage offsets.
I fixed it by changing line 134 to:
//Is it a percentage offset?if(/p$/.test(menuOffset)){targetTop+=(menuOffset.slice(0,-1)/100)*document.documentElement.clientHeight;}else{targetTop+=+menuOffset;}
Can you add this to the source?
The text was updated successfully, but these errors were encountered:
the height of the top bar changes due to a skrollr action (i'm not using it
as navigation bar, but as logo bar, but still, idea is the same). See http://www.ja-doe.nl
This site uses the skrollr menu library that I adapted.
BR
Leo
On Fri, Mar 20, 2015 at 10:09 AM, Alexander Prinzhorn < [email protected]> wrote:
You have a fluid-height navigation? Or what's your use-case?
—
Reply to this email directly or view it on GitHub #71 (comment)
.
currently, data-menu-offset can't handle percentage offsets.
I fixed it by changing line 134 to:
Can you add this to the source?
The text was updated successfully, but these errors were encountered: