Answer the question
In order to leave comments, you need to log in
How to close the current modal window in fancybox3 when another one is opened from it?
Hello. Actually a question in a subject. I didn't find anything in Google, Application $.fancybox.close(); closes the opening popup.
Answer the question
In order to leave comments, you need to log in
To do this, there is an option "closeExisting", by default it is "false"
// Закрыть открытое окно, перед открытием нового (простите за тавтологию)
$.fancybox.defaults.closeExisting = true;
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question