| chamade 2004-03-25, 6:34 am |
| Hi!
Can anyone help me doing this:
I have to create a skin so that when a page is first opened, all the
links on the first level must be closed. When I select a link on the
first level, it should expand, but all its children must remain
collapsed, no matter they have their own children or not. If a choose
to select one of the children, it shiuld expand. When I select some
other child under a first level link, the previous opened child must
collapse. To be more explicitely, if I have the following tree, the
following behaviour is desirable:
Link1
Child1
Child 1.1
Child 1.2
Child2
Child 2.1
Child 2.2
Child 2.3
Link2
Child1
Child 1.1
Child 1.2
Child 1.3
Child2
Child 2.1
Link3
Child1
Child 1.1
Child2
Child 2.1
Child 2.2
when the page opens I want it to display
Link1
Link2
Link3 (I mean, all should be collapsed)
when I select Link1 I want it to display
Link1
Child1
Child2
Link2
Link3
if I select Child2
Link1
Child1
Child2
Child 2.1
Child 2.2
Child 2.3
Link2
Link3
if I select Link2
Link1
Link2
Child1
Child2
Link3
and so on.
I am waiting for your replies.
Thanks!
Chamade
|