Difference between revisions of "Template:BUHW2016"

Line 522: Line 522:
 
      
 
      
  
    // Initialize and Configure Magnific Popup Lightbox Plugin
+
 
    $('.popup-gallery').magnificPopup({
+
        delegate: 'a',
+
        type: 'image',
+
        tLoading: 'Loading image #%curr%...',
+
        mainClass: 'mfp-img-mobile',
+
        gallery: {
+
            enabled: true,
+
            navigateByImgClick: true,
+
            preload: [0, 1] // Will preload 0 - before current, and 1 after the current image
+
        },
+
        image: {
+
            tError: '<a href="%url%">The image #%curr%</a> could not be loaded.'
+
        }
+
    });
+
  
 
})(jQuery); // End of use strict
 
})(jQuery); // End of use strict

Revision as of 17:58, 6 July 2016