Bootstrap carousel Not working on Google Chrome

随声附和 提交于 2019-12-12 00:45:17

问题


Site URL Brandsroller.com

I have used bootstrap for my company site it is working fine till tomorrow but today its carousel stops working on Google chrome its working fine on Firefox and IE.

My code

HTML

<div class="carousel slide" id="indexslider">
                <div class="carousel-inner">
                    <div class="item">
                        <img alt="" src="img/home/seo_banner.png">
                    </div>
                    <div class="item active">
                        <img alt="" src="img/home/design_development.png">
                    </div>
                    <div class="item">
                        <img alt="" src="img/home/responsive_web_design.png">                       
                    </div>
                </div>
                <a class="left carousel-control" href="#indexslider" data-slide="prev">&lsaquo;</a>
                <a class="right carousel-control" href="#indexslider" data-slide="next">&rsaquo;</a>
            </div>

JS

$(document).ready(function () {           
            $('.carousel').carousel();       
        });

回答1:


I can see there's a problem in Chrome also, though if I put your HTML in a basic Bootstrap setup everything works well: http://bootply.com/67453 in Chrome.

Maybe update the jQuery you are calling and remove additional scripts and CSS and reinstall them one by one to identify the cause.



来源:https://stackoverflow.com/questions/17628276/bootstrap-carousel-not-working-on-google-chrome

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!