• Hi,
    I am trying to load content in a div tag using ajax load (on click action). The content includes a gallery shortcode which displays correctly in a normal page.
    The loading of the content works perfectly, however the gallery grid is destroyed and the pictures are displayed without apparent order and in full size.

    I assume this is a dependancy issue. Do you have any idea how to fix it?

Viewing 3 replies - 1 through 3 (of 3 total)
  • I′m having the same problem, and i′m trying to find a way to reinitialize after .load(). Have you had any luck?

    Plugin Author Jules Colle

    (@jules-colle)

    $(window).resize() or $(window).trigger('resize') might do the trick.

    • This reply was modified 7 years, 2 months ago by Jules Colle.

    Hi! Same issue here. I try to put 3 different galleries in a table cell in three separate tables. The tables are tabbed and when I click a tab (three tabs) I switch the tables display properties to ‘block’ or ‘none’. The gallery shows fine for the first tab but for the others dosen’t show when the tab is clicked.
    I think this is because the first gallery and I need to reinitiate gallery or something.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Issue with dynamic ajax loading’ is closed to new replies.