{"id":13426672,"url":"https://github.com/dimsemenov/Magnific-Popup","last_synced_at":"2025-03-15T21:31:39.359Z","repository":{"id":6309251,"uuid":"7544081","full_name":"dimsemenov/Magnific-Popup","owner":"dimsemenov","description":"Light and responsive lightbox script with focus on performance.","archived":false,"fork":false,"pushed_at":"2024-06-08T08:20:34.000Z","size":1990,"stargazers_count":11389,"open_issues_count":674,"forks_count":3465,"subscribers_count":369,"default_branch":"master","last_synced_at":"2025-03-03T23:44:17.730Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"http://dimsemenov.com/plugins/magnific-popup/","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/dimsemenov.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2013-01-10T16:09:24.000Z","updated_at":"2025-03-02T13:34:14.000Z","dependencies_parsed_at":"2022-07-14T04:00:34.247Z","dependency_job_id":"1e5d7150-3cdd-44a8-b669-0bec8b6df76c","html_url":"https://github.com/dimsemenov/Magnific-Popup","commit_stats":{"total_commits":256,"total_committers":57,"mean_commits":4.491228070175438,"dds":0.3203125,"last_synced_commit":"45dd72ccd1a18f0626fb958f7c49e6313556d31f"},"previous_names":[],"tags_count":22,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dimsemenov%2FMagnific-Popup","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dimsemenov%2FMagnific-Popup/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dimsemenov%2FMagnific-Popup/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dimsemenov%2FMagnific-Popup/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dimsemenov","download_url":"https://codeload.github.com/dimsemenov/Magnific-Popup/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241852534,"owners_count":20031062,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-07-31T00:01:40.805Z","updated_at":"2025-03-15T21:31:39.308Z","avatar_url":"https://github.com/dimsemenov.png","language":"JavaScript","funding_links":[],"categories":["JavaScript","Modals and Popups","Modals and Popups [🔝](#readme)","UI","模态框和弹出框","Animation"],"sub_categories":["Other","其它","Modals and Popups"],"readme":"**Important note** This jQuery plugin is deprecated, only critical or security bug fixes will be released in future. Use native `\u003cdialog\u003e` element if you need a basic dialog/modal/popup, or my \u003ca href=\"https://photoswipe.com\"\u003ePhotoSwipe\u003c/a\u003e library if you need an advanced image gallery. Feel free to email me if you need assistance.\n\n[![Stand With Ukraine](https://raw.githubusercontent.com/vshymanskyy/StandWithUkraine/main/banner-direct.svg)](https://savelife.in.ua/en/)\n\n# Magnific Popup Repository\n\n[![Build Status](https://travis-ci.org/dimsemenov/Magnific-Popup.png)](https://travis-ci.org/dimsemenov/Magnific-Popup) \n\nFast, light and responsive lightbox plugin, for jQuery and Zepto.js.\n\n- [Documentation and getting started guide](http://dimsemenov.com/plugins/magnific-popup/documentation.html).\n- [Examples and plugin home page](http://dimsemenov.com/plugins/magnific-popup/).\n- More examples in [CodePen collection](http://codepen.io/collection/nLcqo).\n\nOptionally, install via Bower `bower install magnific-popup` or npm: `npm install magnific-popup`.\n[Ruby gem](https://rubygems.org/gems/magnific-popup-rails): `gem install magnific-popup-rails`.\n\n## Extensions\n\n- WordPress plugin - [under development](http://dimsemenov.com/plugins/magnific-popup/wordpress.html).\n- [Drupal module](https://drupal.org/project/magnific_popup).\n- [Concrete5 add-on](https://github.com/cdowdy/concrete5-Magnific-Popup).\n- [Redaxo add-on](http://www.redaxo.org/de/download/addons/?addon_id=1131).\n- [Contao extension](https://github.com/fritzmg/contao-magnific-popup).\n\nIf you created an extension for some CMS, email me and I'll add it to this list.\n\n## Location of stuff\n\n- Generated popup JS and CSS files are in folder [dist/](https://github.com/dimsemenov/Magnific-Popup/tree/master/dist). (Online build tool is on [documentation page](http://dimsemenov.com/plugins/magnific-popup/documentation.html)).\n- Source files are in folder [src/](https://github.com/dimsemenov/Magnific-Popup/tree/master/src). They include [Sass CSS file](https://github.com/dimsemenov/Magnific-Popup/blob/master/src/css/main.scss) and js parts (edit them if you wish to submit commit). \n- Website (examples \u0026 documentation) is in folder [website/](https://github.com/dimsemenov/Magnific-Popup/tree/master/website).\n- Documentation page itself is in [website/documentation.md](https://github.com/dimsemenov/Magnific-Popup/blob/master/website/documentation.md) (contributions to it are very welcome).\n\n\n\n## Using Magnific Popup?\n\nIf you used Magnific Popup in some interesting way, or on site of popular brand, I'd be very grateful if you \u003ca href='mailto:diiiimaaaa@gmail.com?subject=\"Site that uses Magnific Popup\"'\u003eemail me\u003c/a\u003e a link to it.\n\n\n## Build \n\nTo compile Magnific Popup by yourself, first of make sure that you have [Node.js](http://nodejs.org/), [Grunt.js](https://github.com/cowboy/grunt), [Ruby](http://www.ruby-lang.org/) and [Jekyll](https://github.com/mojombo/jekyll/) installed, then:\n\n1) Copy repository\n\n\tgit clone https://github.com/dimsemenov/Magnific-Popup.git\n\n2) Go inside Magnific Popup folder that you fetched and install Node dependencies\n\n\tcd Magnific-Popup \u0026\u0026 npm install\n\n3) Now simply run `grunt` to generate JS and CSS in folder `dist` and site in folder `_site/`.\n\n\tgrunt\n\nOptionally:\n\n- Run `grunt watch` to automatically rebuild script when you change files in `src/` or in `website/`.\n- If you don't have and don't want to install Jekyll, run `grunt nosite` to just build JS and CSS files related to popup in `dist/`.\n\n\n\n## [Changelog](https://github.com/dimsemenov/Magnific-Popup/releases)\n\n## License\n\nScript is MIT licensed and free and will always be kept this way. But has a small restriction from me - 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'll be open source too ([want to get notified?](http://dimsemenov.com/subscribe.html)).\n\nCreated by [@dimsemenov](http://twitter.com/dimsemenov) \u0026 [contributors](https://github.com/dimsemenov/Magnific-Popup/contributors).\n\n[![Bitdeli Badge](https://d2weczhvl823v0.cloudfront.net/dimsemenov/magnific-popup/trend.png)](https://bitdeli.com/free \"Bitdeli Badge\")\n\n## Bugs \u0026 contributing\n\nPlease report bugs via GitHub and ask general questions through [Stack Overflow](http://stackoverflow.com/questions/tagged/magnific-popup). Feel free to submit commit [pull-request](https://github.com/dimsemenov/Magnific-Popup/pulls), even the tiniest contributions to the script or to the documentation are very welcome.\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdimsemenov%2FMagnific-Popup","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdimsemenov%2FMagnific-Popup","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdimsemenov%2FMagnific-Popup/lists"}