Closed mzhKU closed 4 years ago
You can add filter
:
external
class to those links in HTML code.$('#navigation-bar').singlePageNav({'filter': ':not(.external)'});
'filter' - By default, the plugin will be applied to all links within the container, use this to filter out certain links using jquery's built in filter method (e.g. ':not(.external)')
I had the filter active but seems not to work... seen this before?
Can you share your code so I can take a look?
If I apply the singlePageNav function to a navigation that also links to other pages (not just sections on the current page), then single Page nav seems to prevent accessing the other page. Is there a solution to this?