Quantcast
Channel: Squarespace Answers - latest questions
Viewing all articles
Browse latest Browse all 21023

JS function for re-initializing gallery blocks?

$
0
0

I looking to get the built in Squarespace gallery block to work after an AJAX .load.

In case it matters: I'm pulling in the data using a URL with the string "?format=main-content" appended, rather getting JSON variables because that's only way to pull in all the .items within these .list pages, according to another SqSp Answers thread I saw.

Since all that main-content stuff is unformatted, I want to call the gallery block on ajaxSuccess.

Thanks!


Viewing all articles
Browse latest Browse all 21023

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>