title: Show/Hide element on jquery Fancy Box close event
body: <p>I want to <code>Show()</code> an element when my jquery FancyBox is closed. How can I do this?</p>
  
  <p>Is there any <code>close</code> event?</p>
  
  <pre><code>var urlOfferDetails = $('#OfferDetails').val();
      $.ajax({
          url: urlOfferDetails,
          type: 'POST',
          data: { 'offerID': productCode, 'providerId': providerCode },
          closeBtn: 'true',
          success: function (data) {
              $("#loading").hide();
              $.fancybox(
              {
                  'href': '#offerPopup',
                  'content': data,
                  'hideOnOverlayClick': false,
                  'hideOnContentClick': false,
                  'autoScale': false,
                  'overlayShow': true,
                  'type': 'iframe'
              });
          },
          error: function (req, status, error) {
          },
          complete: function () {
              $("#loading").hide();
              $('.scrollup').hide();
          },
      });
  </code></pre>