L
L
localhost33102020-03-05 17:38:16
JavaScript
localhost3310, 2020-03-05 17:38:16

FancyBox 3 - how to close on click past the image?

$('.fancybox-media').fancybox({
            maxWidth    : '100%',
            maxHeight   : 'auto',  
            padding     : 0,
            margin      : 0,
    });

There are such options.

How to make it so that when you click on this part of the window, the window closes? Past the content.
https://i.imgur.com/10Er9dN.png

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question