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
So i hope this is my last question, my fullpage.js-project is almost complete by now (and it's working great :)
One thing left to do ...
i have a header section (fixed above the fullpage container) that contains links to fullpagesections: <a href="#sectionname">Section Name</a>
They work fine: i click on them, the URL bar extends to domain.com/#sectionname and fullpage scrolls down to that section as intended.
Now i have a footer link (to open cookie settings) and the API there requires me to open that modal with settings with: <a href="#showcookielayer">, triggering some internal event to show the modal.
This works on a page without fullpage.js initialized, but it fails when fullpage.js is active. Instead, the #showcookielayer is added to the URL and as there is no section with that name, no scrolling occures.
So question is: is there a way to exclude a hashtag link from triggering a fullpage.js scrolling attempt?
I want / need the anchor functionality else, so turning it off is no option. It's just that one link that should not be handled by fullpage.js but leave to the browser and handle it by the other script instead.
The text was updated successfully, but these errors were encountered:
So i hope this is my last question, my fullpage.js-project is almost complete by now (and it's working great :)
One thing left to do ...
i have a header section (fixed above the fullpage container) that contains links to fullpagesections:
<a href="#sectionname">Section Name</a>
They work fine: i click on them, the URL bar extends to domain.com/#sectionname and fullpage scrolls down to that section as intended.
Now i have a footer link (to open cookie settings) and the API there requires me to open that modal with settings with:
<a href="#showcookielayer">
, triggering some internal event to show the modal.This works on a page without fullpage.js initialized, but it fails when fullpage.js is active. Instead, the #showcookielayer is added to the URL and as there is no section with that name, no scrolling occures.
So question is: is there a way to exclude a hashtag link from triggering a fullpage.js scrolling attempt?
I want / need the anchor functionality else, so turning it off is no option. It's just that one link that should not be handled by fullpage.js but leave to the browser and handle it by the other script instead.
The text was updated successfully, but these errors were encountered: