PageSourceSearch

https://www.smilingnotes.com/wp-content/themes/zinnias-lite/assets/js/scripts.js

js smilingnotes.com collected 2026-09-26 18:22:10 UTC 1,427 bytes, 62 lines download raw bytes

1/* ---------------------------------------------
2 common scripts
3 --------------------------------------------- */
4;(function ($) {
5    'use strict'; // use strict to start
6
7    /* === Menu === */
8
9    (function () {
10        $('#category-menu .cat-menu').slicknav({
11            prependTo:'.mobile-cat-menu',
12            label:''
13        })
14    }());
15
16    /* === Fitvids js === */
17    (function () {
18        $(".wpb_wrapper").fitVids();
19        $(".entry-content").fitVids();
20        $(".entry-video").fitVids();
21        $(".entry-audio").fitVids();
22    }());
23
24
25    /* === Masonery gallery === */
26    (function () {
27        var masonry = $('.gallery');
28        $(window).load(function(){
29            masonry.masonry();//Masonry
30        });
31    }());
32
33
34    /* === Magnific Popup js === */
35    (function () {
36
37        $('.gallery-item').magnificPopup({
38            delegate: 'a',
39            type: 'image',
40            // other options
41            closeOnContentClick: false,
42            closeBtnInside: false,
43            mainClass: 'mfp-with-zoom mfp-img-mobile',
44
45            gallery: {
46                enabled: true
47            },
48            zoom: {
49                enabled: true,
50                duration: 300, // don't foget to change the duration also in CSS
51                opener: function(element) {
52                    return element.find('img');
53                }
54            }
55
56        });
57
58    }());
59
60})(jQuery);
61
62

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.