Get new jQuery plugins just once a week
May 15, 2013
Magnific Popup | Simple jQuery LightBox plugin
Magnific Popup is a free responsive jQuery lightbox plugin that is focused on performance and providing best experience for user with any device (Zepto.js compatible).
It has got the following options :-
- Light and modular : You can choose to include only the features that you need using the online build tool or by compiling it yourself with Grunt.js. Size of core JS file is about 3KB + each module weights about 0.5KB (gzipped).
- Content is resized with CSS : The majority of lightbox plugins require you to define size of it via JS option. Magnific Popup does not – feel free to use relative units like EM’s or resize lightbox with help of CSS media queries.
- Fast : Magnific Popup displays images before they’re completely loaded to take full advantage of progressive loading.
- Conditional lightbox :Plugin has an option to automatically switch to alternative mobile-friendly source on small screen size.
- Memory management :Popup has an extendable micro templating engine that reuses existing DOM elements (example), which is expecially useful when your popups same pattern.
Created by Dmitry Semenov
Sign up for our weekly newsletter.