How to fade loop background images?

后端 未结 3 1371
既然无缘
既然无缘 2020-11-28 12:12

Rookie here .. I\'m trying to make my static background become a carousel.. my current html looks something like this:


    
3条回答
  •  粉色の甜心
    2020-11-28 13:03

    i ended up finding a page that had exactly what i was looking for:

    Bootstrap carousel as website background

    will refer you to http://untame.net/2013/04/twitter-bootstrap-carousel/ and about halfway down the page will show you how to make a bootstrap background carousel without coding any JQ except for:

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

    amazing!

提交回复
热议问题