Home > Article > Web Front-end > Two CSS tree menus written before_Experience exchange
The CSS tree menu I wrote for the first time was relatively simple. It only had a second-level directory and less than ten lines of JavaScript code in total. It was mainly realized by the include writing method in CSS.
Demo address:
(1)http://www.cnlei.org/mycode/csstreemenu/index.html
(2) http://cnlei.iecn.net/mycode/csstreemenu/index.html
Download link:
(1)http://www.cnlei.org /mycode/csstreemenu/csstreemenu.rar
(2)http://cnlei.iecn.net/mycode/csstreemenu/csstreemenu.rar
at the first time Based on what I wrote, it was improved to infinite level, and named: CNL Tree Menu
1. "CNL Tree Menu" is an infinite level tree shape, compatible with the following versions Browsers: IE5.0+, FF1.06+, Opera8.5+...
2.HTML, CSS, and JavaScript codes are separated from each other (that is, data, style, and scripts are separated) and can be applied to a variety of occasions, easy to maintain and modify; to change the tree icon, you only need to modify the CSS file.
3. Pass W3C verification (XHtml1-Strict, CSS1.0).
Demo address :
(1)http://www.cnlei.org/mycode/CNLTreeMenu/Ver1.0.2/index.html
(2)http://cnlei.iecn.net/ mycode/CNLTreeMenu/Ver1.0.2/index.html
Download link:
(1)http://www.cnlei.org/mycode/CNLTreeMenu/CNLTreeMenuVer1 .0.2.rar
(2)http://cnlei.iecn.net/mycode/CNLTreeMenu/CNLTreeMenuVer1.0.2.rar