Recently, there is a lot of problems in the forum, specially launched an infinite tree completed in recent days, due to limited levels, imperfect, visit all netizens to correct and improve.
1. Realization principle
Use the file:
(a) DeepTree.htm: Displays the file of the tree version (DeepTree.asp Examples of display menu permissions)
(b) DeepTree.htc: Package the request and loading of the data. Use XMLHTTP asynchronous request, and the returned data is used to format output
(c) DeepTree.css: Definition of the style of the menu
(d) DeepTree.xsl: Formatted XSL files for returned data
(e) Server.asp: ASP file for menu data
2. Function
(a) asynchronous request, no refresh
(b). Version: IE5.x, IE6
(c). According to the user role, display the different menus, implement rights management
3. Demo and download
Demo: http://www.ceocio.net/fason/deeptree/deeptree.asp
Download: http://fason.nease.net/download/deeptree.rar