Koen Molemans Koen Molemans - 4 months ago 13
HTML Question

link fails to open when clicked on

on a site i am making for my hobby i have the following problem.
The menu that is on top of the site has 4 items in it.
3 of them point to an anchor on the main page but the 4th points to an external page.

However the 4th one does not work when clicked.
When you click it nothing happens, when you right click it and choose open in new tab or open in new window then it opens the page it needs to open in that new tab or window.

But the usual left click does not do anything.

The code i use for the menu is the following:

<!-- Nav Starts -->
<div class="navbar-collapse collapse">
<ul class="nav navbar-nav navbar-right scroll">
<li class="active"><a href="#home">Home</a></li>
<li><a href="#about">About</a></li>
<li><a href="#works">Works</a></li>
<li><a target="_top" href="http://www.vignorama.be/blog/index.html">Blog</a></li>
<!-- #Nav Ends -->

It propably is something stupid i am overlooking, but its something i am breaking my head about for 2 days allready

Who can help me solve my problem?


My best bet is that you have a Javascript or Jquery onClick event handler where you are doing something like


which prevents the loading of the page.

I think that's what you're doing since the other links are navigation links. That's my best bet.