| Server IP : 14.225.204.176 / Your IP : 216.73.216.6 Web Server : nginx/1.24.0 System : Linux nodejs-ybgk 6.8.0-40-generic #40-Ubuntu SMP PREEMPT_DYNAMIC Fri Jul 5 10:34:03 UTC 2024 x86_64 User : root ( 0) PHP Version : 8.1.34 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : OFF Directory : /var/www/html/php/zinisoft.net/demo/ty-phu-moi-gioi/javascripts/ |
Upload File : |
(function ($) {
"use strict";
$(window).ready(function () {
// Top 100
$('.slider-main').slick({
slidesToShow: 1,
slidesToScroll: 1,
arrows: false,
fade: true,
dots: false,
asNavFor: '.slider-nav'
});
$('.slider-nav').slick({
slidesToShow: 3,
slidesToScroll: 1,
asNavFor: '.slider-main',
dots: false,
arrows: false,
focusOnSelect: true,
vertical: true,
responsive: [
{
breakpoint: 991,
settings: {
vertical: false
}
},
{
breakpoint: 767,
settings: {
slidesToShow: 2,
vertical: false
}
},
{
breakpoint: 576,
settings: {
slidesToShow: 1.4,
centerMode: true,
vertical: false
}
}
]
});
});
if ($(window).width() >= 992) {
$('.slider-nav').mCustomScrollbar();
}
$('.navbar-toggle').click(function(){
$(this).parent().toggleClass('active');
})
// **********************************************************************//
// ! Window resize
// **********************************************************************//
$(window).on("resize", function () {});
})(jQuery);