• Resolved josealvin

    (@josealvin)


    Hi,
    I have two columns content and one of it is photo gallery with load more button. The columns need to be equal height. So I used a Jquery plugin make it equal. I want to know how to callback function after clicking the Load More button to refresh the equal height.

    Thanks

Viewing 1 replies (of 1 total)
  • Plugin Contributor Photo Gallery Support

    (@photogallerysupport)

    Hi,

    Please note that it depends on which view you would like to display.
    If you use Thumbnails view, you can go to photo-gallery/js/bwg_frontend.js file, search for bwg_container_loaded function and your desired at te end of it.

    For example,

    instead of

     
    function bwg_container_loaded(bwg) {
     jQuery('#gal_front_form_' + bwg).removeClass('bwg-hidden');
     jQuery('#ajax_loading_' + bwg).addClass('bwg-hidden');
    }

    you can write the following:

    function bwg_container_loaded(bwg) {
     jQuery('#gal_front_form_' + bwg).removeClass('bwg-hidden');
     jQuery('#ajax_loading_' + bwg).addClass('bwg-hidden');
     alert('callback');
    }

    Please note that it is not importantly going to work in all views.

    Thank you! Have a nice day!

Viewing 1 replies (of 1 total)

The topic ‘Jquery Callback after Load More’ is closed to new replies.