Last active
February 6, 2017 07:15
-
-
Save EfremovMS/9eadc7092e9a4c193584bae0643ad5c6 to your computer and use it in GitHub Desktop.
MagnificPopup: JS open popup
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$(function () { | |
// открытие модальных окон | |
// - [all] | |
$('.js-popup').magnificPopup({ | |
type: 'inline', | |
midClick: true, | |
closeMarkup: '<button title="%title%" type="button" class="mfp-close"></button>', | |
mainClass: 'mfp-fade', | |
removalDelay: 300, | |
}); | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment