{"id":7916,"date":"2015-11-09T05:22:36","date_gmt":"2015-11-09T05:22:36","guid":{"rendered":"https:\/\/unknownerror.org\/index.php\/2015\/11\/09\/dimsemenov-magnific-popup\/"},"modified":"2015-11-09T05:22:36","modified_gmt":"2015-11-09T05:22:36","slug":"dimsemenov-magnific-popup","status":"publish","type":"post","link":"https:\/\/unknownerror.org\/index.php\/2015\/11\/09\/dimsemenov-magnific-popup\/","title":{"rendered":"dimsemenov\/Magnific-Popup"},"content":{"rendered":"<p><img decoding=\"async\" src=\"http:\/\/travis-ci.org\/dimsemenov\/Magnific-Popup.png\" \/> <img decoding=\"async\" src=\"http:\/\/api.flattr.com\/button\/flattr-badge-large.png\" \/><\/p>\n<p>Fast, light and responsive lightbox plugin, for jQuery and Zepto.js.<\/p>\n<p>Optionally, install via Bower <code>bower install magnific-popup<\/code> or npm: <code>npm install magnific-popup<\/code>. Ruby gem: <code>gem install magnific-popup-rails<\/code>.<\/p>\n<h2>Extensions<\/h2>\n<p>If you created an extension for some CMS, email me and I\u2019ll add it to this list.<\/p>\n<h2>Location of stuff<\/h2>\n<ul>\n<li>Generated popup JS and CSS files are in folder dist\/. (Online build tool is on documentation page).<\/li>\n<li>Source files are in folder src\/. They include Sass CSS file and js parts (edit them if you wish to submit commit).<\/li>\n<li>Website (examples &amp; documentation) is in folder website\/.<\/li>\n<li>Documentation page itself is in website\/documentation.md (contributions to it are very welcome).<\/li>\n<\/ul>\n<h2>Using Magnific Popup?<\/h2>\n<p>If you used Magnific Popup in some interesting way, or on site of popular brand, I\u2019d be very grateful if you shoot me a link to it.<\/p>\n<h2>Build<\/h2>\n<p>To compile Magnific Popup by yourself, first of make sure that you have Node.js, Grunt.js, Ruby and Jekyll installed, then:<\/p>\n<ol>\n<li>\n<p>Copy repository<\/p>\n<p>git clone https:\/\/github.com\/dimsemenov\/Magnific-Popup.git<\/p>\n<\/li>\n<li>\n<p>Go inside Magnific Popup folder that you fetched and install Node dependencies<\/p>\n<p>cd Magnific-Popup &amp;&amp; npm install<\/p>\n<\/li>\n<li>\n<p>Now simply run <code>grunt<\/code> to generate JS and CSS in folder <code>dist<\/code> and site in folder <code>_site\/<\/code>.<\/p>\n<p>grunt<\/p>\n<\/li>\n<\/ol>\n<p>Optionally:<\/p>\n<ul>\n<li>Run <code>grunt watch<\/code> to automatically rebuild script when you change files in <code>src\/<\/code> or in <code>website\/<\/code>.<\/li>\n<li>If you don\u2019t have and don\u2019t want to install Jekyll, run <code>grunt nosite<\/code> to just build JS and CSS files related to popup in <code>dist\/<\/code>.<\/li>\n<\/ul>\n<h2>Changelog<\/h2>\n<h2>License<\/h2>\n<p>Script is MIT licensed and free and will always be kept this way. But has a small restriction from me &#8211; please do not create public WordPress plugin based on it(or at least contact me before creating it), because I will make it and it\u2019ll be open source too (want to get notified?).<\/p>\n<p>Created by @dimsemenov &amp; contributors.<\/p>\n<p><img decoding=\"async\" src=\"http:\/\/d2weczhvl823v0.cloudfront.net\/dimsemenov\/magnific-popup\/trend.png\" \/><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Fast, light and responsive lightbox plugin, for jQuery and Zepto.js. Optionally, install via Bower bower install magnific-popup or npm: npm install magnific-popup. Ruby gem: gem install magnific-popup-rails. Extensions If you created an extension for some CMS, email me and I\u2019ll add it to this list. Location of stuff Generated popup JS and CSS files are [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-7916","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts\/7916","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/comments?post=7916"}],"version-history":[{"count":0,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts\/7916\/revisions"}],"wp:attachment":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/media?parent=7916"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/categories?post=7916"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/tags?post=7916"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}