轮播图代码
作者:互联网
<!-- 轮播图 --> <link rel="stylesheet" href="https://blog-static.cnblogs.com/files/aiwuxia/slider.css"> <script> $("<div class='container'><div id='slides'><img src='https://www.cnblogs.com/images/cnblogs_com/aiwuxia/1249780/o_1.jpg'><img src='https://www.cnblogs.com/images/cnblogs_com/aiwuxia/1249780/o_2.jpg'><img src='https://www.cnblogs.com/images/cnblogs_com/aiwuxia/1249780/o_3.jpg'><img src='https://www.cnblogs.com/images/cnblogs_com/aiwuxia/1249780/o_4.jpg'></div></div>").prependTo(".forFlow"); </script> <script src="https://blog-static.cnblogs.com/files/aiwuxia/jquery.slides.min.js"></script> <script> $(function() { $('#slides').slidesjs({ width: 888, height: 325, play: { active: true, auto: true, interval: 2000, swap: true } }); }); </script>
标签:function,prependTo,slidesjs,轮播,auto,代码,true 来源: https://www.cnblogs.com/aiwuxia/p/10518998.html