Hi,
We use the standard Colibri Skin with usually a Left and Side pane for
panels.
Most of our panels are for navigation only. (80%)
So the question is:
Can I make the default behavior of a panel be that it is collapsed,
I want that after a click (and new content is loaded) that the panel is
automatically collapsing again (Like a drop down menu)
You click on the collapsed panel
It opens and shows the navigation links
The user selects one.
The webpage is loaded and if the panel is also on that page it is
automatically collapsed again
I do not want cookies (or something else) that remembers the state and
keeps the panel open.
So a simple piece of code that I can add to the panel to get the behavior?
A better version would be to link it to the default user attribute: User
type
So if user-type is simple automatically collapse
if user type is advanced; keep the panels open for faster navigation.
A even better would be to link it to the panel attribute Type and category
something like: If Panel-type is View and Panel-category is navigation.
Then automatically collapse without state memory)
Our goal is to dramatically reduce screen clutter.
For the roadmap of XWiki i would ask if it is possible to add something
about collapsing behavior in either the panel definition or in the
preferences of Site and/or space to define the desired behavior of panels?
Show replies by date