Hi guys, I think this is a relatively simple problem but I cant figure it out in webflow.
I have a series of images in a row at the top of the page and when each one is pressed it needs to show info regarding that image:
website loads with ImageA info as default page
ImageC is clicked - imageA info needs to fade out and ImageC fades in.
ImageD is clicked - ImageC info fades out and ImageD info fades in…etc
Is there a way to do this with interactions directly in webflow as I’m not a coder.
The way I generally handle that situation is assign a trigger to each button that fades out all of the others every time it’s clicked. If the others are already faded, then nothing will happen, but if one of the others is visible, it will fade out.
You make multiple Click interactions, and you need to make sure that the ones that cause all of the (others) to fade are listed BEFORE the Click interaction that causes your intended element to fade in.
If you like, you can schedule a Wait in the Fade-in interaction so the previous image is completely faded out before it fades in. Otherwise, you SHOULD get a cross-fade effect.
Button 1 Click Interactions
Fade Element 2
Fade Element 3
Fade Element 4
Fade in Element 1
Button 2 Click Interactions
Fade Element 1
Fade Element 3
Fade Element 4
Fade in Element 2
Button 3 Click Interactions
Fade Element 1
Fade Element 2
Fade Element 4
Fade in Element 3
Button 4 Click Interactions
Fade Element 1
Fade Element 2
Fade Element 3
Fade in Element 4
You can also do a common element type for all 4, and fade that out before fading in the one that was clicked. That would work like this.
Thanks for the reply guys I think Vincents suggestion will work best here, although I have no idea how to remove the color of the link box. I’ve set it to transparent for normal state and current state but when you preview the page and click the link a light grey box appears around the link??