多级树形菜单设计

对应文件有: machmap.jsp,dtree,js,op.js,dtree.css .

 

数据库设计sys04_Machine

 

machmap.jsp 代码如下

<%@ page contentType="text/html; charset=gb2312" language="java"%>

<%@ page import = "java.sql.*"%>

<%@ page import ="pub.*" %>

<html>

<head>

<title>#.Admintitle>

<meta http-equiv="Content-Type" content="text/html; charset=gb2312">

<link href="../css/putong.css" type="text/css" rel="stylesheet">

<link rel="StyleSheet" href="../css/dtree.css" type="text/css">

<script type="text/javascript" src="../js/dtree.js">script>

<script type="text/javascript" src="../js/op.js">script>

head>

 

<body bgcolor="ffffff" text="#000000" >

<table cellSpacing="0" cellPadding="0" width="100%" bgColor="#bfcae6" border="0" background="../images/subtitle.gif">

    <tr>

       <td width="100%" height="26"><FONT face="宋体">

          <DIV align="left"><FONT face="宋体" color="#ffffff">  当前位置:基础信息>>组织机构图         FONT>

           DIV>

           FONT>

       td>

    tr>

  table>

 <br>

<a href="javascript: d.openAll();">   展开a>     |     <a href="javascript: d.closeAll();">折叠a>

<script type="text/javascript">

script>

body>

html>

                                                                                            2006-08-14

 

你可能感兴趣的:(Java开发常见问题)