WordPress.org

Forums

Easy FancyBox
[resolved] Easy FancyBox 1.5.0 not working fine with jquery 1.9.1 (6 posts)

  1. pawelpoz
    Member
    Posted 1 year ago #

    Easy FancyBox 1.5.0 working wery well with old jquery, but with 1.9.1 there is a strange problem. Fancybox working fine with jpg, gif and other graphics, but not working with custom content. On first click is ok, but second click cause problem - all page content(!) is showing in lighbox, not a custom content like one div or p.

    I use this code to show a google map (I tested this with other content like a simple text, not map, and not working):

    <ul class="xoxo">
    <a href="#map_canvas" class="fancybox" title="See map" alt="See map">
    <img class="map-img" src="<?php bloginfo('template_url'); ?>/images/img-map.png" />
    </a>
    
    <!-- MAP POPUP -->
    <div style="display:block; height: 0px; overflow: hidden; visibility:hidden; position: absolute;" class="fancybox-hidden">
    <div id="map_canvas" class="colbox" style="width:580px; height:480px; border: 0;"></div>
    </div>
    </ul>

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

  2. RavanH
    Member
    Plugin Author

    Posted 1 year ago #

    Hi pawelpoz, please go to Settgins > Media and activate the new Inline content option. Then use class="fancybox-inline" instead of the old "fancybox" for the link tag in your sidebar.

  3. pawelpoz
    Member
    Posted 1 year ago #

    Thanks for reply,
    This solution not working. class fancybox-inline cause the same problem. It works perfect first time only. Second click shows pop-up with all page content.

  4. RavanH
    Member
    Plugin Author

    Posted 1 year ago #

    Hi Pawel, could you test the .1 development version? The issue should be fixed... Get it from http://downloads.wordpress.org/plugin/easy-fancybox.zip and upload it via FTP to your site.

    Please let me know how it works out so I can release it ASAP. Thanks :)

  5. oscar_briz
    Member
    Posted 1 year ago #

  6. RavanH
    Member
    Plugin Author

    Posted 1 year ago #

    Thanks for reporting back. It'll be released then :)

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic