sssupers Posted March 3, 2015 Posted March 3, 2015 Hello, how can tagged pictures in a gallery be sorted the way Squarespace does it on their own template comparison page: Everytime you click a category, the templates rearrange.How's this done ? Hi, I'm sssupers.
colin.irwin Posted March 3, 2015 Posted March 3, 2015 It looks like there's a script on that page that grabs all of the template information into an array when the page is loaded (possibly via an Ajax call, because the project info is not a part of the initial payload). At this point the default Featured view is randomised. Refreshing the page will randomise again. Clicking the categories fires off a script that applies that particular filter - hiding templates that are not applicable - and uses css transitions/animations to give the nice dynamic redraw effect. Clicking a category does not randomise - only refreshing the page does that. It's something that you can only do with developer mode and some nice client side scripting. I'm Colin Irwin aka silvabokis. I've been a Squarespace designer & developer since 2013. You might want to check out my Squarespace Template Finder or read my Squarespace tips Speaking of tips, 💲I've got a tip jar. Feel free to throw a few quid into if you think I've helped you. If you're looking for a Squarespace developer Book a chat or Drop me a line - first meeting is always free
sssupers Posted March 3, 2015 Author Posted March 3, 2015 Thanks for the insight - I'm willing to do without the random thing if only my galleries learned to sort! Hi, I'm sssupers.
sjh Posted August 12, 2015 Posted August 12, 2015 I think Mixitup would be the solution.is it possible to use Mixitup(https://mixitup.kunkalabs.com/) on Squarespace?I really want to know
sjh Posted August 12, 2015 Posted August 12, 2015 I think Mixitup would be the solution.is it possible to use Mixitup(https://mixitup.kunkalabs.com/) on Squarespace?I really want to know
adriannnexo Posted March 3, 2019 Posted March 3, 2019 Bumping this after 4 years to see if there's a way to do this now?? I'm super interested in having this implemented.
Recommended Posts
Archived
This topic is now archived and is closed to further replies.