0

我的网络人给我做了一个带有手风琴组功能的页面。该网站也是通过 twitter bootstrap 制作的。一切正常,现在坏了!

我是一个完整的初学者,看到人们提到 JSfiddle。

我将 HTML 复制到 JSfiddle 中,一切正常。在网页上时不会。这些项目会显示,但是当您单击任何项​​目时,它只会向下滚动到页面底部。

我确信这是一个超级简单的修复,就像我说它在 Jsfiddle 中完美运行,只是在我的浏览器中没有。JSfiddle 的链接在这里http://jsfiddle.net/EFrZv/4/

<body>
        <h1>Frequently Asked Questions</h1>
        <div class="accordion" id="accordion2">
            <div class="accordion-group">
                <div class="accordion-heading"><a class="accordion-toggle" data-toggle="collapse" data-parent="#accordion2" href="#collapseOne">Is Chamonixfirst Fully Legal to Perform Airport Transfers?</a></div>
                <div id="collapseOne" class="accordion-body collapse">
                    <div class="accordion-inner">
                        <p>Yes we are. At ChamonixFirst we have all the appropriate transport licences and the appropriate passenger carrying insurance to carry out pre booked transfers to resorts, airports etc.</p>
                        <p>We also have the appropriate Canton License's which allows us to enter Switzerland and pick up passengers from the airport and means our vehicles will not get impounded at the border at any time, which is becoming very common with companies who are not fully licensed and insured to the correct standards.</p>
                        <h2>Please see our particulars below:</h2>
                        <p><strong>Siret Number: 53499800000010</strong><br /> <strong>International transport license number: 2011/82/0002505</strong><br /> <strong>Code APE: 4939 B Transports de Voyageurs</strong><br /> <strong>Transport insurance : Alliance Chamonix</strong></p>
                    </div>
                </div>
            </div>
            <div class="accordion-group">
                <div class="accordion-heading"><a class="accordion-toggle" data-toggle="collapse" data-parent="#accordion2" href="#collapseTwo">Flight time/check in time/take off time.....</a></div>
                <div id="collapseTwo" class="accordion-body collapse">
                    <div class="accordion-inner">
                        <p>When booking a transfer from Geneva to resort please enter the arrival time of your flight when making the booking<br />When booking a transfer from resort to Geneva please enter the scheduled departure time of your flight and&#160;NOT&#160;the check in time<br />This way we can arrange schedules for the day for our drivers and make your transfer more efficient with minimum waiting at the airport</p>
                    </div>
                </div>
            </div>
            <div class="accordion-group">
                <div class="accordion-heading"><a class="accordion-toggle" data-toggle="collapse" data-parent="#accordion2" href="#collapseThree">Must I book and pay for a seat for my baby ?</a></div>
                <div id="collapseThree" class="accordion-body collapse">
                    <div class="accordion-inner">
                        <p>Yes, the law states that everyone in the vehicle must occupy their own seat. When booking with babies and children please make sure you choose the correct type of baby/booster seat for your little ones during the booking process. Failure to book the appropriate seat for a child may result in your transfer being cancelled as it is illegal to carry minors without the correct seating</p>
                    </div>
                </div>
            </div>
            <div class="accordion-group">
                <div class="accordion-heading"><a class="accordion-toggle" data-toggle="collapse" data-parent="#accordion2" href="#collapseFour">Do you provide baby/child seats?</a></div>
                <div id="collapseFour" class="accordion-body collapse">
                    <div class="accordion-inner">
                        <p>Yes, but you must choose the correct kind of seat required when booking. The seat will be in the vehicle when we come to collect you</p>
                    </div>
                </div>
            </div>
            <div class="accordion-group">
                <div class="accordion-heading"><a class="accordion-toggle" data-toggle="collapse" data-parent="#accordion2" href="#collapseFive">What is the Geneva Airport to Chamonix transfer time?</a></div>
                <div id="collapseFive" class="accordion-body collapse">
                    <div class="accordion-inner">
                        <p>The transfer time between Geneva Airport and Chamonix usually takes between 1hr 15 minutes to 1hr 30 minutes. This obviously depends on road/weather conditions though. Our drivers all have vast mountain driving experience and always drive accordingly for the weather conditions</p>
                    </div>
                </div>
            </div>
            <div class="accordion-group">
                <div class="accordion-heading"><a class="accordion-toggle" data-toggle="collapse" data-parent="#accordion2" href="#collapseSix">Delayed/cancelled flights - whats happens then?</a></div>
                <div id="collapseSix" class="accordion-body collapse">
                    <div class="accordion-inner">
                        <p>You should keep ChamonixFirst informed at all times about delayed and cancelled flights. If, because of a late flight you will not arrive at the time booked on your original transfer booking you must make ChamonixFirst aware as soon as possible by phoning the office or calling the drivers number which will have been texted to you the day before your transfer. Failure to do this may result in your transfer being cancelled or delayed</p>
                    </div>
                </div>
            </div>
            <div class="accordion-group">
                <div class="accordion-heading"><a class="accordion-toggle" data-toggle="collapse" data-parent="#accordion2" href="#collapseSeven">Missed flight?</a></div>
                <div id="collapseSeven" class="accordion-body collapse">
                    <div class="accordion-inner">
                        <p>In the event that you miss you flight you must call the Chamonixfirst office straight away. We will<br />reschedule your transfer for the next available vehicle leaving the airport but this may incur a wait during busy periods. Failure to contact ChamonixFirst may result in your ticket being void and in line with our terms and conditions we may cancel your transfer</p>
                    </div>
                </div>
            </div>
            <div class="accordion-group">
                <div class="accordion-heading"><a class="accordion-toggle" data-toggle="collapse" data-parent="#accordion2" href="#collapseEight">What is the Geneva Airport to Chamonix Distance?</a></div>
                <div id="collapseEight" class="accordion-body collapse">
                    <div class="accordion-inner">
                        <p>The Distance from Geneva Airport to Chamonix Mt Blanc is roughly 100 KM.</p>
                    </div>
                </div>
            </div>
            <div class="accordion-group">
                <div class="accordion-heading"><a class="accordion-toggle" data-toggle="collapse" data-parent="#accordion2" href="#collapseNine">Geneva Chamonix transfers by mini bus?</a></div>
                <div id="collapseNine" class="accordion-body collapse">
                    <div class="accordion-inner">
                        <p>In our opinion using our mini bus service is the quickest and most efficient way to get to and from Geneva Airport from Chamonix. We are much cheaper than a private taxi booked at the airport and are far more flexible. Our friendly English drivers are full of local knowledge and all our vehicles are fully equipped for the alpine winter conditions</p>
                        <p>Please use the online&#160;booking form&#160;for your&#160;Geneva Chamonix transfer&#160;and all other transfers or alternatively you can call our booking line on +44 (0) 203 286 0618 or email us on&#160;<a href="mailto:info@chamonixfirst.com?subject=Info">info@chamonixfirst.com</a></p>
                    </div>
                </div>
            </div>
        </div>
    </body>

一位朋友提到了脚本,但就像我说的那样,我是一个完整的初学者,只了解基本的 HTML。

Jfidle 上的 HTML 部分中的所有内容都是我页面上除了 head 标签之外的所有内容。那里没有别的东西。我认为应该还有其他东西,但无法弄清楚是什么。

请帮忙!!谢谢菲尔

4

1 回答 1

0

您的 HTML 很好,但请确保您指向正确的 JavaScript 目录。尝试将您的 JQuery Script 标记替换为

<script src="//ajax.googleapis.com/ajax/libs/jquery/1.10.2/jquery.min.js"></script>

我还建议您查看http://www.bootstrapcdn.com/以获取更多托管引导库。

于 2013-10-30T12:53:53.087 回答