Is there a way to have the template recognize what section of the site you are in?
For instance, lets say my page has 3 main categories: Products, Services, About Us. What I want to do is make the Products section have a red navigation, the Services page have a Blue navigation, and the About Us page have a green navigation. Assume that each section has 30-40 pages under it. So, there might be 40 product pages that need a red nav, and 30 Services pages that need a blue nav.
Otherwise the layout of the site is the same.
If there were a way to ID or CLASS the body tag:
Then I could make styles in the external CSS that did the coloring for me instead of having to manually select from three different templates.
Is this possible? Is there a code snippit that I can put into Default.master that would do this for me? Or alternately if there were 3 different Templates, is there a way to dynamically apply them to each section?
Thanks for your time and help!
d a n f i n n e y
Dan Finney Design, Inc.
- - - - - - - - - - - - - - - - - - -
Indianapolis Web Development