magnific-popup


magnific-popup - re-initiate on ajax content


I've the following code to initiate Magnific-Popup on my elements and everything works fine:
$( '.client-logo-overlay' ).magnificPopup({
//modal: true,
//closeBtnInside:true,
//closeOnBgClick: true,
//showCloseBtn: true,
delegate: 'a',
type: 'ajax',
ajax: {
settings: {
url: $( this ).attr( 'href' ),
type: 'POST'
}
},
callbacks: {
parseAjax: function( mfpResponse ) {
var html = $( mfpResponse.data ).find( 'article' );
mfpResponse.data = $( '<div>', { class: 'white-popup small' } ).append( html );
}
}
});
However, when loading some content using AJAX, MagnificPopup doesn't work anymore on those newly inserted elements - what am I missing.
Any help is very much appreciated.
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
compiler-construction
variables
bluetooth
date
omnet++
reflection
activiti
push-notification
tinymce
appx
cvs
binary-tree
azure-storage-tables
qore
iggrid
spring-tool-suite
alignment
visual-studio-2005
saxon
ml
facebook-instant-articles
core-text
claims-based-identity
hammerspoon
java-7
dynamic-featured-image
facebook-access-token
atlassian-crucible
webkitspeechrecognition
google-rich-snippets
bosh
jspresso
code-contracts
protovis
asset-pipeline
mapdb
plsql-psp
stacked
dosbox
awt
keydown
netcdf4
node-sass
businessworks
qwt
menuitem
appcompat
prolog-setof
sage-one
mplayer
nstextview
font-size
eventkit
pycaffe
nxt
merge-conflict-resolution
fuzzy-search
angstrom-linux
markojs
whois
maven-tomcat-plugin
reactive-banana
jms2
teamcity-8.0
python-3.2
jmeter-maven-plugin
wordml
fouc
wyam
varargs
php-ci
truevault
tld
fluentautomation
yorick
valueconverter
html5-notifications
prettify
uv-mapping
geos
gridfs
jmapviewer
coverflow
tws
lcs
distutils
path-separator
libstdc++
datawindow
multipage
twrequest
work-stealing
vdsp
yetanotherforum
pyinotify
mongomapper
telerik-scheduler
radcombobox
fluent-interface
suppress
data-driven
w3wp

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