Hi Jorge! No problem, thanks for the help.
Here is a link to the page:
https://bit.ly/1yHDNJR
When I run the function on the page with the ajax content loaded:
[Log] automatically find and run slideshows (jsj-gallery-slideshow.min.js, line 514)
> window.createJSJGallerySlideshow();
< Object
Although, when I go to the post (opened in new tab), it works as expected:
[Log] automatically find and run slideshows (jsj-gallery-slideshow.min.js, line 514)
[Log] [cycle2] –c2 init– (jsj-gallery-slideshow.min.js, line 410)
[Log] [cycle2] cycle-stopped (jsj-gallery-slideshow.min.js, line 410)
[Log] [cycle2] cycle-stopped (jsj-gallery-slideshow.min.js, line 410)
[Log] [cycle2] cycle-destroyed (jsj-gallery-slideshow.min.js, line 410)
[Log] [cycle2] –c2 init– (jsj-gallery-slideshow.min.js, line 410)
> window.createJSJGallerySlideshow();
[Log] [cycle2] cycle-stopped (jsj-gallery-slideshow.min.js, line 410)
[Log] [cycle2] cycle-stopped (jsj-gallery-slideshow.min.js, line 410)
[Log] [cycle2] cycle-destroyed (jsj-gallery-slideshow.min.js, line 410)
[Log] [cycle2] –c2 init– (jsj-gallery-slideshow.min.js, line 410)
< Object
On a related note, I discovered I can get the gallery to work when I load ‘jsj-gallery-slideshow.min.js’ again alongside the ajax content. I’m not sure why that makes it work since it’s already loaded.