0

So I have created this project for my Show and for some reason I created a panel box that works fine on my local host but not after I hosted it on Github. Here is my source-code:

        <!-- press -->
<div class="container">

    <section>
        <div class="page-header" id="section-press">
            <h2>Press <small>What the press said about NO SHOW</small></h2>
        </div> <!-- end page-header -->


        <div class="panel-group" id="accordion-qa">

            <div class="panel panel-default">
                <div class="panel-heading">
                    <h4 class="panel-title"><a href="#qa-1" data-toggle="collapse" data-parent="#accordion-qa"><h3> The Advocate </h> </a></h4>
                </div>
                <div class="panel-collapse collapse in" id="qa-1">
                    <div class="panel-body">
                        <a href="http://www.theadvocate.com/baton_rouge/entertainment_life/article_9d97eca2-39be-11e7-825b-bb7960e93753.html"><img border="0" alt="The Advocate" src="images/advocate.png" width="900px" height="auto"></a>
                    </div> <!-- end panel-body -->
                </div> <!-- end collapse -->
            </div> <!-- end panel -->

            <div class="panel panel-default">
                <div class="panel-heading">
                    <h4 class="panel-title"><a href="#qa-2" data-toggle="collapse" data-parent="#accordion-qa"><h3> 225 Magazine </h></a></h4>
                </div>
                <div class="panel-collapse collapse" id="qa-2">
                    <div class="panel-body">
                        <a href="https://www.225batonrouge.com/things-to-do/nearly-year-series-no-show-comedy-team-keeps-jokes-fresh"><img border="0" alt="225" src="images/225.png" width="900px" height="auto"></a>
                    </div> <!-- end panel-body -->
                </div> <!-- end collapse -->
            </div> <!-- end panel -->

            <div class="panel panel-default">
                <div class="panel-heading">
                    <h4 class="panel-title"><a href="#qa-3" data-toggle="collapse" data-parent="#accordion-qa"><h3>The Daily Reveille </h></a></h4>
                </div>
                <div class="panel-collapse collapse" id="qa-3">
                    <div class="panel-body">
                        <a href="http://www.lsunow.com/daily/students-headline-monthly-comedy-show/article_7d064d18-796f-11e6-89d8-27174a75f464.html"><img border="0" alt="The Reveille" src="images/lsu.png" width="900px" height="auto"></a>
                    </div> <!-- end panel-body -->
                </div> <!-- end collapse -->
            </div> <!-- end panel -->
        </div> <!-- end panel-group -->
    </section>

</div>

<!-- end press -->

This is what the panel box looks like:

It looks great, link is working, however all the button are non-responsive; which is weird because everything works fine on my computer. This also happens to my sliders with galleries of our show.

Here is the direct link to the page:

https://namburger.github.io/NOSHOWComedy/index.html#qa-2

So sorry, I'm quite new to web development so any help or even additional tips non-related to this would be greatly appreciated!

4

1 回答 1

0

我检查了控制台并在 FF 中得到了这个错误:

阻止加载混合活动内容“<a href="http://maxcdn.bootstrapcdn.com/bootstrap/3.3.4/js/bootstrap.min.js" rel="nofollow noreferrer">http://maxcdn.bootstrapcdn. com/bootstrap/3.3.4/js/bootstrap.min.js”</p>

你提到它在 localhost 中效果很好。根据this你可以进一步阅读

注意:从 Firefox 55 开始,允许在 localhost 上加载混合内容(请参阅错误 903966)。

s我检查了您的标题,但您缺少http

<script src="http://maxcdn.bootstrapcdn.com/bootstrap/3.3.4/js/bootstrap.min.js"></script>

只需将其更改为:

<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.4/js/bootstrap.min.js"></script>
于 2017-05-25T18:36:35.073 回答