Reputation: 3569
On touch screen, I can close the fancybox only by using the close button from the top helper-bar, or by clicking outside the image. but not from the single close button.
sample link - http://vasterad.com/themes/nevia/single-project.html (click\touch the large image)
JS code - (Using fancyBox.min v2.1.3)
$('[rel=fancybox-gallery]').fancybox({
openEffect : 'elastic',
closeEffect : 'elastic',
nextEffect : 'elastic',
prevEffect : 'elastic',
helpers : {
title : {
type : 'inside'
},
buttons : {},
overlay : {
css : {
'background' : 'rgba(0, 0, 0, 0.85)'
}
}
},
});
Upvotes: 2
Views: 385