Fancybox has full support and works great on desktop platforms, however mobile / touch devices do not support the state property :hover , so if you see a fancybox gallery, for example:
<a class="fancybox" rel="gallery" href="image01.jpg">01</a> <a class="fancybox" rel="gallery" href="image02.jpg">02</a> <a class="fancybox" rel="gallery" href="image03.jpg">03</a> ... etc.
and this simple code:
$(".fancybox").fancybox();
Fancybox navigation arrows will require a double click to go to the next element to show the navigation arrow ( :hover ) and others to go to the next / previous element.
The question is, does fancybox have swipe functionality for ipad, iphone, etc.? If not, how can this be implemented using jQuery?
source share