Re: Expand Items
2005/08/08 00:17
Viewed 9896 times
Replies: 1/6

Yes, it is. You can chose what sections to be expanded and which ones to be collapsed on initial display.

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

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

last
Re[3]: Expand Items
2005/09/23 20:08
Viewed 15217 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
Google