title: Fancybox default close button - on close button function
body: <p>How can I write a function when user clicks on default close button in fancybox 2?
  Whenever I hover on close button, it shows me <code>javascript:;</code> in Chrome.</p>
  
  <p>Here is the image<img src="https://i.stack.imgur.com/cdr78.png" alt="Close Button"></p>