Nest reveal code
-
I am trying to create enclosed levels of reveals, but it does not seem to be working.
Could you please check if it is possible?Here is the example nested list
1. (should hide all child levels of Item 1, but not any levels of Item 2)
1.1. (should hide all child levels of Item 1.1, but not any levels of Item 2 or Items 1.2)
1.1.1 (should hide all child levels of Item 1.1.1, but not any levels of Item 2, Items 1.1 or 1.2, or 1.1.2)
1.1.2 (should hide all child levels of Item 1.1.2, but not any levels of Item 2, Items 1.1 or 1.2, or 1.1.1)
1.2. (should hide all child levels of Item 1.2, but not any levels of Item 2 or other parallel levels 1.1. or 1.3)
2.
2.1.What should be changed in the code to ensure logic described above?
[reveal heading=’1′ id=’1′]
1 – text
[reveal heading=’1.1′ id=’1.1′]
1.1 – text
[reveal heading=’1.1.1′ id=’1.1.1′]
1.1.1 – text
[reveal heading=’1.1.2′ id=’1.1.2′]
1.1.2 – text
[reveal heading=’2′ id=’2′]
2 – text
[reveal heading=’2.1′ id=’2.1′]
2.1 – text
[/reveal]Thank you!
- The topic ‘Nest reveal code’ is closed to new replies.