Fancybox: add a close button

This is how you add a close button to the contents of a Fancybox window (ie, the contents inside the iFrame):

<a href="#" onclick="parent.jQuery.fancybox.close();">Close</a>

Leave a Reply