PageSourceSearch

https://gipnos.github.io/js/magnific-popup-options.js

js gipnos.github.io collected 2026-10-03 09:14:49 UTC 621 bytes, 36 lines download raw bytes

1$(document).ready(function() {
2var magnifPopup = function() {
3$('.image-popup').magnificPopup({
4type: 'image',
5removalDelay: 300,
6mainClass: 'mfp-with-zoom',
7gallery:{
8enabled:true
9},
10zoom: {
11enabled: true, 
12duration: 300,
13easing: 'ease-in-out',
14opener: function(openerElement) {
15return openerElement.is('img') ? openerElement : openerElement.find('img');
16}
17}
18});
19};
20
21var magnifVideo = function() {
22$('.popup-youtube, .popup-vimeo, .popup-gmaps').magnificPopup({
23disableOn: 700,
24type: 'iframe',
25mainClass: 'mfp-fade',
26removalDelay: 160,
27preloader: false,
28
29fixedContentPos: false
30});
31};
32
33magnifPopup();
34magnifVideo();
35
36});

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.