magnific-popup


magnific popup modal closes on click


I am trying to create a modal (won't close on 'esc' or 'click') popup with magnific popup. But for some reason, the popup closes on click or esc. I have followed examples here: http://jsfiddle.net/n6c5f/2/ and here: http://codepen.io/vemec/pen/JDsLl. Copying and pasting the exact code doesn't seem to work - the popup opens fine but closes on default events.
This is my current HTML:
Open modal 1
<div id="modal1" class="clean-modal mfp-hide">
TEST Modal popup
</div>
And JS:
jQuery('.open-modal1').magnificPopup({
type:'inline',
modal:true
});
Any thoughts?
Updating to current version of Magnific popup solved the issue. Perhaps there was this was an issue w/ v0.8.7? Either way, resolved.

Related Links

Magnific-popup: how to get image url from <img src=“…”>?
Styling magnific-popup arrows
magnific popup modal closes on click
Magnific popup: getting “The image could not be loaded”
How to give a fixed size to image in magnific-popup pluggin
magnific popup Inline Lightbox Gallery how to specify item in array from html link
how to make browser back close magnific-popup
Simple Magnific Popup Gallery not working
Magnific Popup onload calling a url
callbacks not firing when opening a magnific popup from another one
Magnific Popup - taller mfp-bottom-bar causes max image height issue
How to generate a (magnific popup)-gallery without a-tags
Add data to items in Magnific Popup
How to set the divs to make Magnific Popup animations work
how to display map in mobile devices using magnific popup?
Magnific Popup - Counter in Videogallery

Categories

HOME
bluetooth
server
hp-exstream
objectgears
mean-stack
jira
twitter-bootstrap-4
jxls
callback
installshield
qore
autotools
awesome-wm
maude-system
adobe-analytics
midi
handsontable
event-handling
hapi
designer
django-admin
google-static-maps
autoconf
wkwebview
crystal-reports-2010
microsoft-sync-framework
cas
info.plist
linkerd
windows-error-reporting
vision
binary-data
phonegap
repo
form-data
http-digest
file-format
hockeyapp
theano.scan
ansible-playbook
mapzen
skeleton-css-boilerplate
user-accounts
revapi
jedis
pnotify
dotnetzip
elgg
nativeapplication
forever
feeds
sybase-asa
windows-mobile-6.5
epson
specrun
nested-sets
deadbolt-2
instant
httplistener
adxstudio-portals
mathematica-frontend
qcustomplot
asp.net5
prerequisites
msys
varargs
embedded-code
php-ci
bigbluebutton
system.reflection
socketexception
bitcoinj
responsive-slides
eol
article
dealloc
page-layout
web2py-modules
coverflow
cos
html4
jquery-mobile-dialog
limejs
clipper
path-separator
quickdialog
funscript
word-processor
objective-c-2.0
ticoredatasync
pendrive
eclipse-templates
coercion
locationlistener
floating
web-application-design
icanhaz.js
asp.net-profiles
multi-tier
sef
javap
putchar
grid-system

Resources

Mobile Apps Dev
Database Users
javascript
java
csharp
php
android
MS Developer
developer works
python
ios
c
html
jquery
RDBMS discuss
Cloud Virtualization
Database Dev&Adm
javascript
java
csharp
php
python
android
jquery
ruby
ios
html
Mobile App
Mobile App
Mobile App