As i see you have a custom code that scrolls to some anchor in the code. So this prevents default onclick events even for external links.
you can do this by creating a navigation Folder and adding Navigation Links to it which send visitors to external sites.