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>
- The topic ‘Easy FancyBox 1.5.0 not working fine with jquery 1.9.1’ is closed to new replies.