我有一个bootstrap网站。起初,我的链接是连接的(例如,如果我每次单击链接时,我会点击主页索引页三次,它会显示instastatus.live/index.html/index.html/index.html)。
问题已经解决,但现在这个链接还没有通过。例如,如果我单击其中一个导航栏项目,例如"服务",则URL会显示正确的地址:instastatus.live/services/index.html。但是,在我点击URL栏并按回车键之前,它不会进入该页面(只有这样才会将我带到相应的页面)。否则,它什么都不做。
<nav class="cb-navbar">
<div class="cb-container">
<div class="cb-navbar-inner">
<div class="cb-navbar-left">
<a href="index.html" class="cb-navbar-back">
<i class="cb-icon -long-arrow-left"></i>
</a>
<a href="index.html" class="cb-navbar-logo"></a>
</div>
<div class="cb-navbar-right">
<div class="cb-navbar-nav">
<a href="/services/index.html" id="navbar-services" class="cb-navbar-nav-item">
<span class="cb-navbar-nav-item-icon">
<i class="cb-icon -cog"></i>
</span>
<span class="cb-navbar-nav-item-text">Services</span>
</a>
<a href="/projects/index.html" id="navbar-projects" class="cb-navbar-nav-item">
<span class="cb-navbar-nav-item-icon">
<i class="cb-icon -bars"></i>
</span>
<span class="cb-navbar-nav-item-text">Projects</span>
</a>
<a href="/contacts/index.html" onclick="yaCounter.reachGoal('contacts')" id="navbar-contacts" class="cb-navbar-nav-item">
<span class="cb-navbar-nav-item-icon">
<i class="cb-icon -contacts"></i>
</span>
<span class="cb-navbar-nav-item-text">Contacts</span>
</a>
</div>
</div>
</div>
</div>
</nav>