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 ..我真的很糟糕。 –