I’m not trying to pull a double stackoverflow and discuss post but I have several projects coming up that involve subnavs, some relatively complex, and I just wanted to see what people thought the best way to go about this in ember is so not resort to a bunch of jQuery hacking.
My original SO post is here if you’re interested: http://stackoverflow.com/questions/18475041/want-ember-js-named-outlet-to-only-display-on-click
But ultimately, I have a navigation bar set up in the application template and I would like a subnav to display when the ‘about’ link on main nav is clicked, but I don’t want anything else to change except for maybe the url changing to /about, but not /about/subnav, which is what is currently happening with the way I am implementing named outlets.
Then when one of the sub links is clicked, say ‘leadership’, the url will change to /about/leadership and the leadership template will load and the subnav will remain displayed.
Here’s my github repo as well. Thanks very much.