Hi all. I’m asking a similar (possibly the same?) question as this one: No interactions on collection items?
It was asked about a year ago, so maybe something has changed since then.
Is it possible to create interactions that operate on collection items? We would like a button to show/hide a div that contains an image. The content isn’t even derived from the collection; it just goes along with the template.
Currently we can get a single button/content pair to work outside of the collection list, but once we move it to a collection list, it doesn’t work any more. Seems it is picking up something from the collection, but I’m at a loss to say what or why.
I’ve been helping my wife build a site, and have resorted to unholy measures like having a collection item include a display: none
div with child text containing some ID, and then using jQuery to adjust the DOM afterwards with the stuff that I can’t figure out how to do with the Webflow UI.
(And yeah, it is easier for me to reason about this from a JS perspective, since that’s my day job; I just need to find a way to get this to work so she can take it over where I leave off.)