This is a read-only archive of the Framer Community on Facebook.

What is Framer? Join the Community
Return to index
Lauren Nielsen
Posted Nov 16 - Read on Facebook

Hey Framer people! I'm glad to be part of this network (thanks Jordan) and I'd like to share my work and get some help. I'm working on my first prototype and I've gotten to the point where my brain hurts thinking through the logic, and I just don't want to research anymore. I think what I'm trying to accomplish is pretty simple, but I can't get it!

I would like to set an active state for my menu buttons (right now when you open the menu and click on Schedule, it will change color), and I don't really know what way to approach that kind of thing. Probably with attributes in Layer States linked to a click event...

3 Comments

Jordan Robert Dobson

Yep. Do you have a state for the color change on schedule?

Rich Zarick

check it: at the end of the file here - just doing what you said in adding the color to the background of the menu items based on click events. using the 'menudrawer.sublayers' as an array so you dont have to re-write the state for every layer manually http://share.framerjs.com/mbibihregmqm/
Edit: explination

Lauren Nielsen

thank you Rich!

Read the entire post on Facebook