K
Ken Fine
I'm an ASP.NET newbie, so please be gentle...
I want to make an "active" navigation menu that indicates selection to the
user by turning the nav text red. One easy way to do this is to compare a
QueryString to a value, and write red text if it matches.
The really dumb way to do this would be to define if...else conditions for
each item on the menu.
It seems like a better way would be to have a dynamic comparison happen. I'm
not sure how to set this up. Can someone point me in the right direction?
I want to make an "active" navigation menu that indicates selection to the
user by turning the nav text red. One easy way to do this is to compare a
QueryString to a value, and write red text if it matches.
The really dumb way to do this would be to define if...else conditions for
each item on the menu.
It seems like a better way would be to have a dynamic comparison happen. I'm
not sure how to set this up. Can someone point me in the right direction?