Answer the question
In order to leave comments, you need to log in
Problem with opening Magnific Popup modal window, how to solve?
Ladies and gentlemen!
In Magnigic Popup, when you click on an image, a modal window opens for a split second, and then immediately the image itself at /images/***.jpg
Can you please tell me how to fix this?
Answer the question
In order to leave comments, you need to log in
Have you looked at the code? You have something like this:
$(document).ready(function(){
var body = $("body");
body.fadeIn(400);
$(document).on("click", "a:not([href^='#']):not([href^='tel']):not([href^='mailto'])", function(e) {
e.preventDefault();
$("body").fadeOut(400);
var self = this;
setTimeout(function () {
window.location.href = $(self).attr("href");
}, 400);
});
});
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question