Lightbox conflict inside accordion
-
Hello. I have an issue trying to fire the lightbox from a gallery using “Responsive Gallery Grid” plugin, contained in a “collapse-o-metic” accordion. The lightbox works, but after 5″ you cannot click on images anymore. I found that this only happens when I include a google map on that page. I tried a lot with my zero knowledge of javascript and I managed to solve it with a “window refresh” function but now it has some short delay when opening the lightbox. I would appreciate if you could check my test page and javascript code.
jQuery(‘document’).ready(function () {
jQuery ( function($) {$(‘.collapseomatic’).on(‘click’, function(event) {
jQuery(window).resize();
} );$(document).on(‘click’, ‘.ari-fancybox ‘ , function() {
jQuery(window).resize();
});
} );
} );The page I need help with: [log in to see the link]
- The topic ‘Lightbox conflict inside accordion’ is closed to new replies.