Results 1 to 2 of 2
Dec 13, 2007, 11:51 #1
- Join Date
- Oct 2007
- 0 Post(s)
- 0 Thread(s)
Displaying Active Link in CSS generated menu...that is located in the layout
I am using a layout in a Ruby project. Basically it just displays the header with logo, navigation, and then yields for the content. After the content is displayed, the layout takes care of displaying the footer.
What I would like to do...is somehow display which link is active in the CSS menu...which again, is located in the layout.
Is this possible? Would it be better to just move the navigation code into each view? I could get that to work of course...but I would have to change code in all the views should my categories/nav bar change.
I think I worded that in a way that makes sense?