Active menus: how can I do this elegantly?

Discussion in 'ASP .Net' started by Ken Fine, Jul 19, 2003.

  1. Ken Fine

    Ken Fine Guest

    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?
     
    Ken Fine, Jul 19, 2003
    #1
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. news.west.cox.net

    Select menus above flyout menus? help?

    news.west.cox.net, Dec 8, 2004, in forum: HTML
    Replies:
    8
    Views:
    811
  2. Michael Hudson
    Replies:
    3
    Views:
    371
    Bengt Richter
    Jul 22, 2003
  3. Michele Simionato
    Replies:
    15
    Views:
    572
  4. J2M
    Replies:
    12
    Views:
    196
  5. jrwats
    Replies:
    5
    Views:
    138
    Gary E. Ansok
    Dec 19, 2008
Loading...

Share This Page