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 - Source (not showing up again) after closing Popup
Magnific Popup plugin: Preloader not working on iframe
Close, open new magnific popup window via API
Magnific Popup with html5 video
Magnific Popup Gallery: How can I display a counter in an inline type item?
Magnific Popup - gallery images not displaying
Magnific Popup custom arrow and number
Is it possible to pass data via the post method to magnific popup when ajax loading content?
What is the best way to test if a Magnific Popup is currently “open”
Apply callback to all instances of Magnific Popup?
Magnific Popup show background image while loading fullres image
Popup - It should load an .aspx page
Modal dialog. - Confusing
Toggle verticalFit on an open image?
Does Magnific Popup support custom events/buttons
I can't get the overflowY option to work in magnific popup

Categories

HOME
compiler-construction
pandas
log4j
multithreading
hive
netbeans
amazon-ec2
server
onedrive
platform-builder
youtube-dl
bookshelf.js
amazon-ecs
installshield
cross-validation
medical
session-variables
modelica
usergrid
remote-access
messages
clearcase-ucm
vaadin7
django-simple-history
saxon
ef-migrations
pugjs
reactive-cocoa
jprofiler
introduction
dbext
predix
zapier
ml
one-hot-encoding
java-3d
dcevm
excel-2007
core-text
claims-based-identity
blazemeter
smb
sparse-matrix
madlib
frame
javascriptcore
stringtemplate
mozilla
android-nestedscrollview
geopositioning
ghost4j
html5-fullscreen
bytecode-manipulation
dosbox
mixture-model
tasker
android-mediaprojection
auto-update
parentheses
strptime
errordocument
pnotify
typed-lambda-calculus
titanium-android
account-kit
vtigercrm
root-framework
android-textview
sts-springsourcetoolsuite
intrusion-detection
nsfilemanager
fuzzy-search
clang-static-analyzer
master-slave
hover-over
apachebench
ptrace
natvis
srand
collapse
libressl
angular-leaflet-directive
ami
dundas
proj4js
umbraco6
google-style-guide
gulp-less
preferences
openexr
android-radiobutton
back-stack
plasma
sharp-repository
pysimplesoap
automount
armcc
labwindows
dbproviderfactories
gnu-prolog
heartbeat
psi
javax.script
netbeans-7.1
radcombobox
gallio
compiler-specific
libs
privilege
premature-optimization
noscript
ugc
uiq3

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