导航栏无法打开外部链接

时间:2016-04-10 12:26:37

标签: jquery html css navigation navbar

该网站的链接是www.kerrycancersupport.com - 在导航栏中,所有链接的工作栏都是“捐赠”按钮,该按钮链接到另一个网站。我认为这与jQuery有关,但我不太确定。以下是导航栏的HTML。

<!-- Main Menu -->
    <div class="main-menu-container navbar-fixed-top">
        <div id="main-menu" class="navbar navbar-default" role="navigation">
            <div class="container">

                <div class="navbar-header">
                    <!-- responsive navigation -->
                    <button type="button" class="navbar-toggle" data-    toggle="collapse" data-target=".navbar-collapse">
                        <span class="sr-only">Toggle navigation</span>
                        <i class="fa fa-bars"></i>
                    </button>
                    <!-- /.navbar-toggle -->
                    <!-- Logo -->
                    <h1>
                            <a class="navbar-brand" href="./">
                                <img class="logo" src="assets/images/logo.png"  alt="Logo" rel="hoome">
                            </a><!-- /.navbar-brand -->
                        </h1>
                </div>
                <!-- /.navbar-header -->

                <nav class="collapse navbar-collapse">
                    <!-- Main navigation -->
                    <ul id="headernavigation" class="nav navbar-nav pull-right">
                        <li><a href="#about">About</a></li>
                        <li><a href="#team">Team</a></li>
                        <li><a href="#volunteer">Timetable</a></li>
                        <li><a href="#service">Services</a></li>
                        <li><a href="#gallery">Gallery</a></li>
                        <li><a href="#contact">Contact</a></li>
                        <li><a  href="http://www.mycharity.ie/charity/kerrycancersupportgroup/" class="donate" target="_blank">Donate <i class="fa fa-heart"></i></a></li>

                    </ul>


                    <!-- /.nav .navbar-nav -->
                </nav>

                <!-- /.navbar-collapse  -->
            </div>
            <!-- /.container -->
        </div>
        <!-- /#main-menu -->
    </div>
    <!-- /.main-menu-container -->
    <!-- Main Menu End -->

0 个答案:

没有答案