PageSourceSearch

https://ngounb.ru/wp-content/themes/colormag/js/magnific-popup/image-popup-setting.js?ver=20150310

js ngounb.ru collected 2026-10-02 10:57:47 UTC 1,457 bytes, 53 lines download raw bytes

1/*
2 * Featured Image Popup Setting
3 */
4
5jQuery(document).ready(function ($) {
6  $('.image-popup').magnificPopup({
7    type: 'image',
8    image: {
9      titleSrc: function(item) {
10        return( $(item.el).find('img').attr('alt') );
11      },
12      verticalFit: false
13    },
14    closeOnContentClick: true,
15    closeBtnInside: true,
16    zoom: {
17      enabled: true,
18      duration: 300, // don't foget to change the duration also in CSS
19      opener: function(element) {
20        return element.find('img');
21      }
22    }
23  });
24  $('.zoom-gallery, .entry-content').each(function(){
25    $(this).magnificPopup({
26      delegate: 'a:has(img)',
27      type: 'image',
28      closeOnContentClick: false,
29      closeBtnInside: false,
30      mainClass: 'mfp-with-zoom mfp-img-mobile',
31      image: {
32        verticalFit: false,
33        titleSrc: function(item) {
34          return( $(item.el).find('img').attr('alt') );
35        }
36      },
37      gallery: {
38        enabled: true,
39        tPrev: 'Назад (Кнопка влево)', // title for left button
40        tNext: 'Вперёд (Кнопка вправо)', // title for right button
41        tCounter: '<span class="mfp-counter">%curr% из %total%</span>' // markup of counter
42      },
43      zoom: {
44        enabled: true,
45        duration: 300, // don't foget to change the duration also in CSS
46        opener: function(element) {
47          return element.find('img');
48        }
49      }
50      
51    });
52  });
53});

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.