Upvote 1

Best way to create a set of tabs with selected/highlighted states

Answered Victor Conesa 9 years ago

I am trying to figure out how to how to make a tab highlighted on click and change the color on the other. I watched the video, but it doesn't make complete sense. Currently I see how I can take a "rectangle" and set an event that says on click, set rectangle 1 to highlighted (color) and remove color from the rectangle 2, 3, 4.


Although I think the process is inefficient when I have 4 tabs as I have to create a lot of events to say "highlight this tab" and deselect the other 3 tabs. Then I have to create those events for all 4 tabs. Then if I add a 5th tab I have to do it again across all 5.


I am sure there is an easier way to do this. Would you be so kind as to guide me through how to make a set of tabs highlight on rollover/click and remove highlight on the other selected tab please.

Replies (1)
photo
1

Hi Jack,


Unfortunately, there is no easy way to simplify this if the tabs are independent and not in a dynamic panel. The best way to do this is to create a dynamic panel, that, when a certain panel is selected, will show its tab in a different style.


Best,


Danielle

Leave a Comment
 
Attach a file