WordPress.org

Support

Support » Plugins and Hacks » FancyBox for WordPress » [Resolved] [Plugin: FancyBox for WordPress] fancybox : hide the fancybox with a click on title

[Resolved] [Plugin: FancyBox for WordPress] fancybox : hide the fancybox with a click on title

  • hello,
    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 :
    hideOnTitleClick:true,

    hope it will help !

    http://wordpress.org/extend/plugins/fancybox-for-wordpress/

  • The topic ‘[Resolved] [Plugin: FancyBox for WordPress] fancybox : hide the fancybox with a click on title’ is closed to new replies.
Skip to toolbar