| Re[3]: Expand Items ¶ | |
| You can save the value returned by calls to new NavSection, then call show/hide on any sections you wish after the call to “menu.generate()”. Example: var menu = new NavBar(...); (we pass "true" to show/hide calls in order to force it to be un-animated). I know the procedure is a bit awkward, but this is it for now.. In the next version we plan to provide a completely differet, much more easier to use API (but the bad news is that it'll not be backwards compatible).
| |
| Re[4]: Expand Items ¶ | |
| Definitely bad news. One of the features I need, and have accomplished through some ColdFusion programming, is the ability to "start" the navigation bar but add components as my code runs (using fusebox framework) so that different sections will appear or not appear based on context. In and of itself, that works...but everytime one is added, another "section" variable is simply used...rather than a unique variable name I cannot track later. I'm sure I can come up with a way but this is going to be tricky at best. If you change it, it would be nice to have that as an attribute of the section rather than have to set it after you generate(). | |
| last |
| Re[5]: Expand Items ¶ | |
| I know; it just didn't make too much sense to implement a better API, since we're planning to bulldoze everything about NavBar and start all over for a better product. :) But this takes time... Anyhow, I hate it when customers are not happy. If you can suggest an API that will suit you, I will do my best to implement it in the current code base as soon as possible. Just let me know how would you like it. | |
| last |
| Re[4]: Expand Items ¶ | |
| I was hoping you could help resolve some issues I'm having with the navBar demo. I'm using the Windows XP Theme. I am still evaluating it to see if it will fit my use and ran into a problem. The issues is related to the same problem that was ealier mentioned in this thread. I wanted to have many (all) section expand when the page is frist loaded. I saw that this issue was experience by another user and you told them to use: var menu = new NavBar(...); This hasn't resolved the issue. In fact I'm getting strange results each time I load the page. Sometimes sec1 & sec3 are expanded and other times all three are collapsed. Have you had any others contact you with this issue? Do you know what I could be doing wrong? Also, I have a few questions about the licensing. For you single-site license, do I get the de-cryped navbar.jss code? It really is a nice navbar, I just want to make sure it will suit all my needs. Thanks! | |
| last |














