magnific-popup


Magnific popup iframe closeOnBgClick does not work


There is some case when a popup shouldn't be closed by clicking the background. After googling here and there still no success on that. This is the code:
jQuery('.magnific_link').magnificPopup({
type: "iframe",
fixedContentPos: true,
closeOnBgClick: false,
iframe: {
markup: '<div class="mfp-iframe-scaler">'+
'<div class="mfp-close"></div>'+
'<iframe class="mfp-iframe" style="background:white;" frameborder="0" allowfullscreen></iframe>'+
'</div>',
patterns: {
test: {
index: '',
id: function (url) {
var m = url.match(/^(.*)/);
return m === undefined ? null : m[1];
},
src: "%id%"
}
}
}
});
Any idea what is going wrong? Thanks

Related Links

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
how to manually open and close the popup using Magnific-Popup
How to customize arrows and close button?
no closing “X” with inline content
How to prevent close
Magnific-Popup Loading iframe from non-video players URL
Magnific popup - put arrows inside of an image
magnific closeOnContentClick does not work
How can style popup iframe in Magnific Pop-Up?

Categories

HOME
yii2
arduino-uno
gitlab
hook
proxy
openstack
dot
kalman-filter
cmd
spring-jdbc
dxl
binary-tree
webpack-2
ojdbc
portia
esper
synchronization
cloudkit
handsontable
nstableview
fortumo
graphlab
invantive-sql
google-pagespeed
plunker
arabic
csrf-protection
dynamic-featured-image
pingfederate
fifo
nouislider
fabric8
titanium-mobile
catalog
overriding
qwerty
uft-api
galen
dynamic-reports
wptoolkit
menuitem
hibernate-tools
filepicker
dotnetzip
togetherjs
yii2-extension
drupal-6
snmptrapd
media-player
dtexec
minimization
messenger
firmata
rotativa
log4c
etsy
fuzzy-search
lttng
angstrom-linux
actionbardrawertoggle
ready-api
make-install
ptrace
kendonumerictextbox
qtableview
iis-arr
android-listview
ios9.1
iiviewdeckcontroller
sonarqube5.1.2
proj4js
lustre
angularjs-ng-click
winddk
id3v2
gulp-less
php-5.4
android-radiobutton
hippomocks
ember-charts
aqtime
tidy
smtp-auth
mhtml
dmoz
manchester-syntax
postgresql-performance
cinema-4d
h.323
coda-slider
dbal
post-build
django-notification

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