范例

80酷酷网    80kuku.com

  <BODY bgColor=#C0C693 leftMargin=5 topMargin=5 marginwidth="5" marginheight="5">
<SCRIPT language=JavaScript src="../leftfiles/treemenu.js"></SCRIPT>
<SCRIPT language=JavaScript>
    //以下三项可以设置也可以按默认值,main和parent.main都是链接页面要显示的目标框架
    setImageURL("images/"); //图标路径
    setLinkColor("#ff0000");//叶节点链接颜色
    setFloderColor("#ffff00");//树结点链接颜色
    
    
    foldersTree = gFldr('***介绍','','');
           aux1 = insFldr(foldersTree, "**机关",parent.main,"function.htm");
                aux2 = insFldr(aux1 , "**处",parent.main,"function.htm");
                    insDoc(aux2 , "main", "**室","department/manage/offic.htm");
                    insDoc(aux2 , "main", "**室", "department/manage/employee.htm");                
                    insDoc(aux2 , "main", "**室","department/manage/finance.htm");
                
                aux2 = insFldr(aux1 , "**处",parent.main,"function.htm");
                
                     insDoc(aux2 , "main", "**室","department/manage/law.htm");
                     insDoc(aux2 , "main", "**室","department/manage/manage.htm");
                     insDoc(aux2 , "main", "**室", "department/manage/custody.htm");
                     insDoc(aux2 , "main", "**室", "department/manage/marketmanage.htm");
                
                    aux3 = insFldr(aux2 , "**处",parent.main,"function.htm");

                        insDoc(aux3 , "main", "**室", "department/manage/policy.htm");
                        insDoc(aux3 , "main", "**室", "department/manage/disposition.htm");
                    
        aux1 = insFldr( foldersTree,"**中心",parent.main,"department/business/function.htm");
              aux2 = insFldr(aux1 , "**处",parent.main,"function.htm");
                    insDoc(aux2 , "main", "**室","department/manage/offic.htm");
                    insDoc(aux2 , "main", "**室", "department/manage/employee.htm");                
                    insDoc(aux2 , "main", "**室","department/manage/finance.htm");
                
              aux2 = insFldr(aux1 , "**处",parent.main,"function.htm");
                
                     insDoc(aux2 , "main", "**室","department/manage/law.htm");
                     insDoc(aux2 , "main", "**室","department/manage/manage.htm");
                     insDoc(aux2 , "main", "**室", "department/manage/custody.htm");
                     insDoc(aux2 , "main", "**室", "department/manage/marketmanage.htm");
                
                    aux3 = insFldr(aux2 , "**处",parent.main,"function.htm");

                        insDoc(aux3 , "main", "**室", "department/manage/policy.htm");
                        insDoc(aux3 , "main", "**室", "department/manage/disposition.htm");

                       
    initializeDocument();

</script>



分享到
  • 微信分享
  • 新浪微博
  • QQ好友
  • QQ空间
点击: