中码周希俭告诉您script 怎么引用
程序员文章站
2022-07-11 12:22:34
...
<script src="dist/slider-x.js"></script>
<script>
$('.my-slide').pageflySlider({
slidesToShow: 3,
slidesToScroll: 1,
gutter: 15,
autoPlay: false,
duration: '400',
autoPlayDelay: 2000,
loop: true,
navStyle: 'nav-style-111',
paginationStyle: 'pagination-style-3'
})
</script>
1,html 静态
2,js 动态插入
下一篇: 网络编程--Socket编程(UDP)