I am editing a template and links don't respond to left clicks. If you right-click and choose 'Open in New Tab,' they work just fine. When you hover over them, you can see the URL in the status bar at the bottom of the browser.<a href=""> links don't open when I click on it but works when I click "open in new tab"
I will only post the menu section of the index file since the webpage is too long. Please download the template from the following link to see it yourselfClick Here
我在这里是新的,所以我不清楚发布问题的规则。让我知道如果你需要其他信息,请帮助我。
`
<nav class="navbar navbar-light">
<ul class="nav navbar-nav single-page-nav">
<li class="nav-item">
<a class="nav-link" href="#home">Home <!-- <span class="sr-only">(current)</span> --></a>
</li>
<li class="nav-item">
<a class="nav-link" href="gallery.html">Products</a>
</li> <!-- this link won't work -->
<li class="nav-item">
<a class="nav-link" href="#about">About</a>
</li>
<li class="nav-item">
<a class="nav-link" href="#contact">Contact</a>
</li>
</ul>
</nav>
</div>`.
<div class="sigma-content col-lg-6 col-md-6 photo text-center" >
<h2></h2>
<a href="gallery.html" class="btn btn-primary btn-lg">VISIT OUR GALLERY</a>
</div>
编辑:我刚刚了解浏览器控制台和错误是
Uncaught Error: Bootstrap tooltips require Tether (http://github.hubspot.com/tether/)
at bootstrap.min.js:7
at bootstrap.min.js:7
at bootstrap.min.js:7
我该如何解决这个问题。
必须有一些防止默认行为的代码 – brk
是的,一定有一些js代码阻止浏览器控制台的默认行为检查。 –
你能帮我找到那个代码吗?它可能是Javascript ..我真的很糟糕。 –