Re[2]: Expand Items
2005/09/23 19:51
Viewed 13185 times
Replies: 1/5

I don't find this in the documentation. Can you point me (us) to where this is set?

Re[3]: Expand Items
2005/09/23 20:08
Viewed 16193 times
Replies: 2/4

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(...);
var sec1 = new NavSection(menu, ...);
var sec2 = new NavSection(menu, ...);
var sec3 = new NavSection(menu, ...);
menu.generate();
sec1.hide(true);
sec2.show(true);
sec3.show(true);

(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).

last
Re[4]: Expand Items
2005/09/23 20:18
Viewed 18669 times
Replies: 1/2

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[4]: Expand Items
2006/06/20 03:38
Viewed 16842 times
Replies: 0/0

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(...);
var sec1 = new NavSection(menu, ...);
var sec2 = new NavSection(menu, ...);
var sec3 = new NavSection(menu, ...);
menu.generate();
sec1.hide(true);
sec2.show(true);
sec3.show(true);

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!
TrueHypocrisy

last
Google