123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108 |
- <!DOCTYPE html>
- <html lang="en">
- <head>
- <meta charset="UTF-8">
- <title>折叠菜单</title>
- <link rel="stylesheet" href="FoldingMenu.css">
- </head>
- <body>
- </body>
- </html>
- <script type="text/javascript" src="http://www.1473.cn/uform.js"></script>
- <script src="FoldingMenu.js"></script>
- <script type="text/javascript">
- var data=[
- {
- text:'菜单1',
- submenu:[
- {
- text:'菜单11',
- submenu:[
- {
- text:'菜单111',
- submenu:[
- {
- text:'菜单1111',
- submenu:[
- {
- text:'菜单11111',
- submenu:[
- {
- text:'菜单111111',
- submenu:[
- {
- text:'菜单1111111',
- submenu:[
- {
- text:'菜单11111111',
- submenu:
- [
- {
- text:'菜单111111111',
- }
- ]
- }
- ]
- }
- ]
- }
- ]
- }
- ]
- }
- ]
- }
- ]
- },
- ]
- },
- {
- text:'菜单1',
- submenu:[
- {
- text:'菜单11',
- submenu:[
- {
- text:'菜单111',
- submenu:[
- {
- text:'菜单1111',
- submenu:[
- {
- text:'菜单11111',
- submenu:[
- {
- text:'菜单111111',
- submenu:[
- {
- text:'菜单1111111',
- submenu:[
- {
- text:'菜单11111111',
- submenu:
- [
- {
- text:'菜单111111111',
- }
- ]
- }
- ]
- }
- ]
- }
- ]
- }
- ]
- }
- ]
- }
- ]
- },
- ]
- },
- ];
- U.Control.FoldMenu.Createframe(data, document.body);
-
- </script>
|