Page 1 of 1

navigation panel

Posted: Thu Nov 10, 2011 8:21 am
by amc
is it possible to have the left hand navigation panel collapsed on start ?

or can it be collapsed via javascript ?

Re: navigation panel

Posted: Wed Nov 16, 2011 7:04 pm
by amc
anyone ?

Re: navigation panel

Posted: Wed Nov 16, 2011 9:40 pm
by David
The first top-level item will always be expanded, if you are using the "accordion" style. There is not a way around this.

If you are using the "tree" style, the top level items will be displayed automatically -- none of them expanded.

Re: navigation panel

Posted: Wed Nov 16, 2011 10:17 pm
by amc
i meant collapsed to the left, the same effect as clicking the << button to the right of the word Navigation

Re: navigation panel

Posted: Wed Nov 16, 2011 10:25 pm
by David
Oh -- sorry, I misunderstood. Sorry again, but currently no way to do that. Although, we are open to suggestions.

In your opinion, would it be more desirable to be able to do it yourself using JavaScript, or to have Atrium remember the state using a cookie and then just setting it expaned or collapsed based on how the user left it last?

Re: navigation panel

Posted: Thu Nov 17, 2011 2:19 am
by amc
1) Have it as a setting per group (just like the navigation width option)
or
2) provide an api in atrium_api.js, let's say Atrium.navCollapse() which could be triggered in group's home page to achieve the same result. I always load the atrium_api.js script in home pages anyway so that I can have hyperlinks in the body of the home page that use Atrium.launchItem to launch programs in Atrium tabs.