浏览 1233 次
锁定老帖子 主题:不知道这是否喜欢她?
该帖已经被评为隐藏帖
|
|
---|---|
作者 | 正文 |
发表时间:2009-10-17
下面是今天整理的一段代码 <script language="javascript"> //初始化控件 function initialise() { theMenu.autoScrolling = true; theMenu.modalFolders = false; theMenu.linkOnExpand = false; theMenu.toggleOnLink = false; theMenu.showAllAsLinks = false; theMenu.savePage = true; theMenu.tipText = "status"; theMenu.selectParents = false; theMenu.name = "theMenu"; theMenu.container = "self.menu"; theMenu.reverseRef = "parent"; //注意(正文框架)默认框架 theMenu.contentFrame = "leftFrame"; theMenu.defaultTarget = "leftFrame" //初始化图标 initOutlineIcons(theMenu.imgStore); var level1ID = -1; var level2ID = -1; var level3ID = -1; var level4ID = -1; var level5ID = -1; //level表示最高级,level2子级,level3子子级,Document文件,folder文件夹。 //以上不要改变 //仿照下面的格式增加项目即可; ROOT_MENU = theMenu.addEntry(-1, "Folder", "豪德查询系统", "", "豪德查询系统..."); T01=theMenu.addChild(ROOT_MENU, "Folder", "商户信息管理", "", "商户信息管理"); T02=theMenu.addChild(ROOT_MENU, "Folder", "物流信息管理", "", "物流信息管理"); L01 = theMenu.addChild(T01, "Folder", "客户信息管理", "", "客户信息管理"); L0101 = theMenu.addChild(L01, "Document", "客户列表", "/haodequery/manager/customer/customerlist.jsp", "客户列表"); L0102 = theMenu.addChild(L01, "Document", "添加客户", "/haodequery/customerAction.do?operter=addTabCustomerInfoBefore", "添加客户"); L0103 = theMenu.addChild(L01, "Document", "高级查询", "files/addcustom.htm", "高级查询"); L02 = theMenu.addChild(T01, "Folder", "客户人员管理", "", "客户人员管理"); L0201 = theMenu.addChild(L02, "Document", "客户人员列表", "/haodequery/manager/person/personlist.jsp", "客户人员列表"); L0203 = theMenu.addChild(L02, "Document", "高级查询", "files/person.html", "高级查询"); L03 = theMenu.addChild(T01, "Folder", "营业信息管理", "", "营业信息管理"); L0301 = theMenu.addChild(L03, "Document", "营业信息列表", "/haodequery/manager/biz/bizlist.jsp", "营业信息列表"); L0303 = theMenu.addChild(L03, "Document", "高级查询", "files/biz.html", "高级查询"); L04 = theMenu.addChild(T01, "Folder", "金融信息管理", "", "金融信息管理"); L0401 = theMenu.addChild(L04, "Document", "金融信息列表", "/haodequery/manager/finance/financelist.jsp", "金融信息列表"); L0403 = theMenu.addChild(L04, "Document", "高级查询", "files/finance.html", "高级查询"); L05 = theMenu.addChild(T01, "Folder", "车辆信息管理", "", "车辆信息管理"); L0501 = theMenu.addChild(L05, "Document", "车辆信息列表", "/haodequery/manager/vehicle/vehiclelist.jsp", "车辆信息列表"); L0503 = theMenu.addChild(L05, "Document", "高级查询", "files/vehicle.html", "高级查询"); L06 = theMenu.addChild(T01, "Folder", "广告信息管理", "", "广告信息管理"); L0601 = theMenu.addChild(L06, "Document", "广告信息列表", "/haodequery/manager/advertise/advertiselist.jsp", "广告信息列表"); L0603 = theMenu.addChild(L06, "Document", "高级查询", "files/advertise.html", "高级查询"); //物流菜单 T0201=theMenu.addChild(T02, "Document", "物流用户列表", "/haodequery/manager/customer/customerlist.jsp", "物流用户列表"); L07 = theMenu.addChild(ROOT_MENU, "Folder", "系统安全管理", "", "系统安全管理"); L0701 = theMenu.addChild(L07, "Document", "用户管理", "/haodequery/manager/user/userlist.jsp", "用户管理"); L0702 = theMenu.addChild(L07, "Document", "数据导入/导出", "files/dataManager.html", "数据导入/导出"); L0703 = theMenu.addChild(L07, "Document", "菜单管理", "/haodequery/manager/menu/menulist.jsp", "菜单管理"); theMenu.entry[ROOT_MENU].isopen = true; } self.defaultStatus = ""; if (self.name == 'menu') { self.location.href = "menu.jsp"; } else { initialise(); } </script> </head> 声明:ITeye文章版权属于作者,受法律保护。没有作者书面许可不得转载。
推荐链接
|
|
返回顶楼 | |