Left Menu Like OutLook Style
[ File Path: super/left_menuForOutLook.html ]
Explanation of implementation method
- I make one left menu which resembles outlook.com, so share to everyone.
- 1. Please note that the css code of the source of this page.
- 2. Please note that the javascript code of the source of this page, especially the switch button is moved into the <a> tag when 'addDiyDom' callback be called
- 3. Use the method of add zTree class name to implement the switch button be hidden or showing.
- 4. Other auxiliary rules, please write code based on your needs.
- 5. The current rule description:
Click the root node can control the parent node be expanded or collapsed;
The parent nodes without root only are only clicked the arrow icon can control be expanded or collapsed;br/>