下一篇 » « 上一篇

范例

作者:爱好者    时间:2008-01-22    来源:php之家    点击:39540    本文共1篇文章 字体:[ ]

范例

<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"); 本文来自 www.444p.com
                    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");

www.444p.com php学习之家


                
                     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");
                

php学习之家


                    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");

www.444p.com


                    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"); www.444p.com版权所有
                
                     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");
                

www.444p.com版权所有


                    aux3 = insFldr(aux2 , "**处",parent.main,"function.htm");

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

                       
    initializeDocument();

</script>
发表评论
密码: (游客不需要密码)
记住我【Alt+S 或 Ctrl+Enter 快速提交】

搜索工具


《PHP教程》点击排行