Answer the question
In order to leave comments, you need to log in
How to close fancybox by clicking outside the window?
Hello. The code:
jQuery("#price-form").fancybox({
'transitionIn' : 'fade',
'transitionOut' : 'elastic',
'speedIn' : 5000,
'speedOut' : 200,
'overlayShow' : false,
'padding' : 0,
'margin' : 0,
'height' : 'auto',
'maxHeight' : '100%',
'modal' : 'true',
'scrolling' : 'auto',
'width' : '100%',
'maxWidth' : 1920,
'fitToView' : false,
'autoSize' : false,
'autoCenter' : true,
helpers: {
overlay: {
locked: false
},
keys: {
close: [27]
}
}
});
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question