PageSourceSearch

https://next360.vn/nextpay-assets/js/style.js?v=8.0.16

js next360.vn collected 2026-09-24 13:54:08 UTC 5,188 bytes, 168 lines download raw bytes

1$(document).ready(function () {
2    $('#Nems-detail').owlCarousel({
3        items: 1,
4        navigation: false,
5        slideSpeed: 500,
6        paginationSpeed: 800,
7        rewindSpeed: 1000,
8        singleItem: true,
9        autoPlay: true,
10        stopOnHover: true,
11    });
12
13    $('#Nejs-slide').owlCarousel({
14        items: 1,
15        navigation: true,
16        slideSpeed: 500,
17        paginationSpeed: 800,
18        rewindSpeed: 1000,
19        singleItem: true,
20        autoPlay: true,
21        stopOnHover: true,
22        nav: true,
23        loop: true,
24    });
25
26    $('#Nextpay-pay').owlCarousel({
27        // items:4,
28        slideSpeed: 500,
29        paginationSpeed: 800,
30        rewindSpeed: 1000,
31        autoPlay: true,
32        stopOnHover: true,
33        loop: true,
34        margin: 20,
35        nav: true,
36        responsive: {
37            0: {
38                items: 1
39            },
40            600: {
41                items: 2
42            },
43            1000: {
44                items: 4
45            }
46        }
47    });
48
49    $('.owl-carousel').owlCarousel({
50        loop:true,
51        margin:10,
52        responsiveClass:true,
53        responsive:{
54            0:{
55                items:1,
56                nav:true
57            },
58            600:{
59                items:1,
60                nav:false
61            },
62            1000:{
63                items:1,
64                nav:true,
65                loop:false
66            }
67        }
68    })
69    // $('.gls-ADS').owlCarousel({
70    //     items:1,
71    //     loop:true,
72    //     margin:10,
73    //     autoplay:true,
74    //     autoplayTimeout:3000,
75    //     autoplayHoverPause:true
76    // });
77
78    $(".big-head-top-desktop").hide();
79    $(".small-head-top").click(function () {
80        $(".big-head-top-desktop").slideToggle();
81    });
82    // $(".big-ads-desktop").click(!==function(){
83    //     $(".big-ads-desktop").slideToggle();
84    // });
85});
86
87
88$(window).scroll(function () {
89    var position = $(window).scrollTop();
90
91    //var bottom = $(document).height() - $(window).height();
92    var bottom = 10;
93    // console.log(position);
94    // console.log(bottom);
95
96    if (position >= bottom) {
97
98        $('.menu-mobile .modal-dialog').css('margin-top', '00px');
99    } else {
100        $('.menu-mobile .modal-dialog').css('margin-top', '70px');
101    }
102});
103
104$(document).ready(function () {
105    if ($("nav.navbar").length) {
106        const n = $("nav.navbar .hassubmenu .nav-link");
107        n.hover(
108            function () {
109                $(this).parents().removeClass("hover");
110                $(this).parents().removeClass("hover");
111                $(this).parents().find(".submenu").css("visibility", "visible").css("opacity", "0").css("display", "none");
112                $(this).parents().find(".bg-gray").css("visibility", "visible").css("opacity", "0").css("display", "none");
113
114                $(this).parent().addClass("hover"), $(this).parent(".hover").find(".submenu").css("visibility", "visible").css("opacity", "1").css("display", "block");
115                $(this).parent().addClass("hover"), $(this).parent(".hover").find(".bg-gray").css("visibility", "visible").css("opacity", "1").css("display", "block");
116            },
117            function () {
118
119                let submenu = $(this).parent().find(".submenu:hover");
120                if (submenu.length != 0) {
121                    console.log(1)
122                } else {
123                    $(this).parent().removeClass("hover"), $(this).parent().find(".submenu").css("visibility", "visible").css("opacity", "0").css("display", "none");
124                    $(this).parent().removeClass("hover"), $(this).parent().find(".bg-gray").css("visibility", "visible").css("opacity", "0").css("display", "none");
125                }
126
127            }
128        );
129        const m = $(".bg-gray");
130        m.hover(
131            function () {
132                $(this).parents().removeClass("hover"), $(this).parents().find(".submenu").css("visibility", "visible").css("opacity", "0").css("display", "none");
133                $(this).parents().removeClass("hover"), $(this).parents().find(".bg-gray").css("visibility", "visible").css("opacity", "0").css("display", "none");
134            },
135            function () {}
136        );
137        // console.log($("#navbarSupportedContent").hasClass("hassubmenu"))
138    }
139});
140const links = document.querySelectorAll(".item-link");
141for (const link of links) {
142    link.addEventListener("click", clickHandler);
143}
144
145function clickHandler(e) {
146    e.preventDefault();
147    const href = this.getAttribute("href");
148    const offsetTop = document.querySelector(href).offsetTop - 81;
149    scroll({
150        top: offsetTop,
151        behavior: "smooth"
152    });
153}
154$(document).ready(function () {
155
156    $('.small-head-top').click(function (e) {
157        $(".Nextpay-header").toggleClass("show-menu");
158    });
159    $(window).click(function (event) {
160        var $target = $(event.target);
161        var $parent = $target.closest(".Nextpay-header");
162        var $show = $target.closest(".small-head-top");
163        if ($parent.length == 0 && $show.length == 0) {
164            var $menu = $('.Nextpay-header');
165            $menu.removeClass("show-menu");
166        }
167    });
168});

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.