I’m wanting to bring this page into Webflow, the UX ask is
Based on a list of keywords in the form of a tag button, if the user clicks on a word, can it filter to only show the graphics below that match this variable.
this page will show you what I’m trying to get accomplished, what would the name for this be?
In the example that @LvnLife shows at his first post here he uses Isotop jQuery plugin. Unfortunately, you can’t get this kind of animation by using the method I described in that tutorial.
@sabanna In the example I’ve linked and learning from by Cloning it and going in under the hood… there is no Custom Code correct?
Where-as the latest link to another way to do it with more fluid animations If i understand it correctly is needing .js code that you link to… is this correct?
Hi @sabanna
Yes, I know the custom coded page is using its own code, but for the one you did in Webflow, do we need to use any custom code or does it just magically work within the webflow code [ this project will be hosted ]
hi @sabanna - just wondering if i can borrow that smart brain of yours…
I’m trying to mimic all the goodness you did, but its doesn’t seem to be working…
Two things
It’s as if the second click won’t allow me to choose the class name I’ve given to an object
f-magento won’t come up when I try to type it inside the ‘Affect different elements’
and #2
Because my page has soo many elements, the positioning of each element where it sits on the page probably wont work, is there any tips or code click hack’s you can throw my way on how to have them appear one after the other much like on the appear and stack to the top found on this page > http://myntpartners.com/partners.html
The reason why you can’t pick the particular classes in the interaction is because interactions work ONLY with Global Classes. In your case, class “filter-button” is a Global and all others “f-btn-…” are Combo classes
When you first give the class to the object it becomes a Global Class. When you add one more class to the object that already has one it becomes a Combo Class. So you will need to add some div to the page and one-by-one give that div class names “f-btn-…” (apply class >>> save >>> remove class >>> apply next class >>> save>>> remove class >>> …). It will create all the same name classes but on Global level and they will become available inside the interactions.
If you mean that you want to have same visual effect as it is on the example - only javaScript / jQuesry plugin can help you. If that visual transition effect is not required, all interactions that I used in the tutorial should make it work correctly.
I got it working, thanks for your help. Now I just need to explore how to properly stack them one after the other or do something that makes it more visually clean.
For those who run into the same issue, here’s my laymens terms of getting this done from a non-coder, visual designer brain work flow.
Before you ATTACH a class name onto the element, you need to first create a DUMMY Div and name it the same name you want to attach to a selective element / object. You do this by Dragging a Div class anyone on the page, then go into the class text field and name it… then delete the Div and start all over again. Once you’ve named all the classes, you can then go attach them to the element / object you want them associated with. Best metaphor I can give you is, imagine you have a class theater event, you go put the parents names on the seat, then the parents show up and they know where to go sit, sorry, but its the best I can muster up here… Family NameTag on the seat before the doors open for event! #applause2SabannaANDanna
@sabanna quick Q: How do I set the current state for when a user clicks one of the filtering buttons? and if the user clicks on another word / button, it will change that state back to its NORMAL red color. On State currently is DARKER red.
I’m sure it’s something so simple, but for the life of me, I can’t find it ;(
With this kind of filtering there is no way to apply “Current” state to the buttons and use it for change color of it. But you can do this by using interactions:
Add a div to button and give it a color that you want your button have when it used. I would call it “active layer”
Make this layer position: absolute and make sure it is not covering any content in the button.
Make “active layer” transparent initially.
Add animation steps with Click triggers to you filtering interactions:
a) First click trigger - all “active layers” goes to opacity=0% (only first click!)
2) Second click trigger - only nested “active layer” goes to opacity=100% (only first click!)