Fancybox - apply a function to several elements
问题 This source code below was posted by Cristiano G. Carvalho in answer to the question: calling fancybox gallery with other link made by another user. <div class="details_gallery"> <a href="#" class="manualfancybox">Manual Call Fancybox</a> <div class="details_gallery_min"> <a rel="details" href="max/1.jpg" class="fancybox"><img src="min/1.jpg" alt="" /></a> <a rel="details" href="max/2.jpg" class="fancybox"><img src="min/2.jpg" alt="" /></a> <a rel="details" href="max/3.jpg" class="fancybox">