47 lines
1.1 KiB
JavaScript
47 lines
1.1 KiB
JavaScript
|
// JavaScript Document
|
||
|
|
||
|
$(function() {
|
||
|
$('#banner').slick({
|
||
|
dots: true,
|
||
|
infinite: true,
|
||
|
slidesToShow: 1,
|
||
|
slidesToScroll: 1,
|
||
|
fade: true,
|
||
|
arrows: false,
|
||
|
autoplay: true,
|
||
|
speed: 5000,
|
||
|
autoplaySpeed: 5000,
|
||
|
cssEase: 'ease-in-out'
|
||
|
});
|
||
|
|
||
|
|
||
|
|
||
|
/*$('.linkList').slick({
|
||
|
infinite: true,
|
||
|
slidesToShow: 4,
|
||
|
slidesToScroll: 1,
|
||
|
autoplay: true,
|
||
|
autoplaySpeed: 3000,
|
||
|
cssEase: 'cubic-bezier(0.645, 0.045, 0.355, 1)',
|
||
|
responsive: [
|
||
|
{
|
||
|
breakpoint: 961,
|
||
|
settings: {
|
||
|
slidesToShow: 3
|
||
|
}
|
||
|
},
|
||
|
{
|
||
|
breakpoint: 641,
|
||
|
settings: {
|
||
|
slidesToShow: 2
|
||
|
}
|
||
|
},
|
||
|
{
|
||
|
breakpoint: 481,
|
||
|
settings: {
|
||
|
slidesToShow: 1
|
||
|
}
|
||
|
}
|
||
|
]
|
||
|
});*/
|
||
|
});
|