FancyBox for WordPress
[resolved] fancybox : hide the fancybox with a click on title (1 post)

  1. oliviadesens
    Posted 4 years ago #

    in fancybox 1.3.4 when you use "hideOnContentClick: true," and you click on the title area you can not close the fancybox content.
    You need to be outside the title area....

    This is a solution to do it :

    in jquery.fancybox-1.3;4.js
    after the line 152 put the code :
    selectedOpts.hideOnTitleClick = false;

    after the line 603 put the code :
    if (currentOpts.hideOnTitleClick) {
    title.bind('click', $.fancybox.close);

    and then at the end after :
    hideOnContentClick : true,
    put the code :

    hope it will help !


Topic Closed

This topic has been closed to new replies.

About this Plugin

  • FancyBox for WordPress
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic