PageSourceSearch

https://www.globalbrandsmagazine.com/wp-content/themes/zox-news-child/custom-script.js

js globalbrandsmagazine.com collected 2026-09-24 18:01:46 UTC 1,301 bytes, 43 lines download raw bytes

1jQuery(document).ready(function($) {
2    jQuery(document).ready(function($) {
3        jQuery(document).ready(function($) {
4            var page = 2; // Start loading from page 2
5            $('#load-more').click(function() {
6                var ajaxurl = myAjax.ajax_url;
7                var data = {
8                    action: 'load_more',
9                    page: page,
10                };
11                $.post(ajaxurl, data, function(response) {
12                    if (response) {
13                        $('#post-container').append(response);
14                        page++;
15                    } else {
16                        $('#load-more').hide(); // Hide the button if no more posts
17                    }
18                });
19            });
20        });    
21    });
22});
23
24// for mobile navbar 
25$(document).on("click", ".dropdown-toggle", function(e) {
26    e.preventDefault();
27    let parentLi = $(this).closest("ul");
28    parentLi.toggleClass("show");
29    parentLi.children("ul.dropdown-menu").toggleClass("show");
30
31});
32
33
34$(document).on("click", ".dropdown-toggle", function(e) {
35    e.preventDefault(); // stops default link behavior
36    let $this = $(this);
37    setTimeout(function () {
38        $this.closest('ul.dropdown-menu').addClass('show');
39    }, 50); // 1000 ms = 1 second
40});
41
42
43

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.