Reinitiate Lightbox via ja after ajax
-
I use AJAX to dynamically change gallery content. I make sure to apply the_content on it.
While Meow Lightbox works perfectly fine with a fresh loaded URL it doesn’t with AJAX content (click on a taxonomic name or page number will load new content via AJAX).
I already do this within success- section:
$('.mwl-img').off('click');
renderMeowLightbox();java console shows “Rendering lightbox” message. No errors.
but: best I could reach is a lightbox showing the image size as is in gallery and without details (title, shutter speed, camera, …).
img-tag contain same information when received via AJAX and via page reload.
I need help. This makes me sick… I am in bed right now and can’t stop overthinking this..
The page I need help with: [log in to see the link]
- You must be logged in to reply to this topic.