by Andreas

Fancybox – add a custom close window link / button

imageAdding a “close window” link to a Fancybox dialog can sometimes be more intuitive for the user than the built-in button.

Simply add a standard link with an onclick jquery command:

<a href="#" onClick="parent.jQuery.fancybox.close();">Close window</a>
  • Anonymous

    апрварвар