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 scroll issues with iframe and iOS
How to apply magnific pop to image preview after revoke the object url
How to override magnific popup inline markup
Magnific pop-up only links to you tube
Magnific Popup close button placed in invalid html?
Magnific Popup - Google Maps Embed API must be used in an iframe
Magnific Popup Plugin Not Showing when Previewed in Browser
Magnific Popup Wordpress
Magnific vs PhotoSwipe
How to adjust video size magnific popup
$.magnificPopup.open() callbacks is not working
How do i setup magnific-popup
magnific-popup - re-initiate on ajax content
Magnific-popup cancels all requests on open
Magnific Popup fails to work with multiple galleries on a page
magnific-popup open in parent when calling from iframe

Categories

HOME
client
activiti
path-finding
google-play
homebrew
appx
lodash
electronics
frameworks
win32gui
serverspec
android-youtube-api
add
windows-azure-storage
alignment
carthage
dosgi
tostring
reactcsstransitiongroup
solaris-10
lucene.net
alpine
swingx
zapier
ehcache
kvc
android-widget
semantic-analysis
status
tooltipster
fopen
windows-error-reporting
vision
madlib
socialengine
preg-match-all
column-family
grails-3.1
lxd
rotational-matrices
simplexml
document.write
slick-3.0
strptime
worksheet
tizen-native-app
idisposable
gabor-filter
tropo
nativeapplication
kbuild
nodebb
capacity
mcafee
lync-client-sdk
titanium-android
vtigercrm
url-pattern
google-feed-api
blackberry-10
photobucket
ora-00900
wordml
coveralls
browser-bugs
splash
dundas
block-device
qpainter
websocket4net
comexception
kgdb
rtmfp
java.nio.file
imdbpy
farseer
ivyde
ruby-datamapper
flash-builder4.5
qt-faststart
quickdialog
frameset
datawindow
nsmanagedobject
reddot
boost-filesystem
invite
blitz++
getresponsestream
modelstate
meego
simpletest
ajax-forms

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