If I understand you correctly, here's how I've handled this: http://www.paste2.org/p/103819
You can see that the view helper looks at the controller to determine which item should be active. I'm using a YAML config file to store the menu definition along with some additional meta data but if course this wouldn't have to be the case. Ace Paul wrote: > > Is there a way that I can set a tab to have a class such as active from > the controller? > > So that the active tab would show as a different style? > I know that this can be done with javascript, but I would like to know if > it can be done within Zend framework for ease of use. > > thanks for any help > -- View this message in context: http://www.nabble.com/setting-style-class-of-an-element-in-navigation-tp20541245p20573407.html Sent from the Zend Framework mailing list archive at Nabble.com.
