Use auxiliary plug-ins to create web page carousel and plug-in apps
The carousel effect on the APP is the same as that on bootstrap.
I am using swiper. Just like in the previous article, I just need to introduce the swiper JS css file to html and then copy the desired code. Then, the address bar in the image is the address of the swiper official website. you can see there are various special effects
For those who have not yet learned about JS and want to achieve a variety of effects, there are many types of carousel effects to meet the needs in various situations.
If the template is different from the one you want, you can modify a part of the template.
For example, some JavaScript styles can be written in the body, such
<Script type = "text/javascript">
Var mySwiper = new Swiper ('. swiper-iner ',{
Loop: true, pagination: '. swiper-pagination ',
Autoplay: 3000,
});
</Script>
If you delete autoplay 3000, the loop will not be automatically played. If you delete the loop: true, there will be no infinite loop.
Of course, autoplay loop is what I understand after I find the translation.
It does mean automatic playback and loop.
Newbie on the road above for not to learn part of the self-understanding of the content if there are objective facts do not match please forgive me finally attached swiper address: http://www.swiper.com.cn/