我觉得做树的最简单的办法就是用dtree(它是个js程序)做显示层,按照它的api组织你的数据并保存在数据库表中,显示时将表中的数据查出来加到dtree上,显示dtree就可以了。
解决方案 »
- xml文件中使用JSTL读取.properties文件的内容
- 求一个用模式一或模式二开发的电子商务系统(SQL版)
- 散分:WEB项目(struts1.X),天天看乱码帖,总结下。请大家指正和补充,我会整理全面。谢谢叻。。。囧~~~
- 关于“No getter method for property: "order_ID " of bean: "show"”的问题
- jsp如何设为桌面图标
- 小菜鸟的问题
- 高效 Java Web 开发框架 JessMA v3.3.1 正式发布
- 为什么我的Jfreechart包里没有VerticalBarRenderer.java和tooltips.*???
- jsp菜鸟求助(在线等待)
- 心灵的宁静
- index.jsp文件应该放Tomcat的哪个目录下?
- tomcat jsp开发 连接sqlserver
偶有treemaker的软件,做下就可以了
用js做的或者发我邮箱
[email protected]
谢谢了
[email protected]
我在做一个毕业设计
要求跟楼主的一样,不过后台数据库是SQL而已
谢谢
[email protected]
做毕设需要,谢谢!
我忘了写邮箱地址了
[email protected]
谢谢
[email protected]
感谢,最好有使用说明和代码,可令开帖子给分
正做这方面的项目,很需要!谢谢!!
能给小弟一份吗,不胜感激呀
[email protected]
1。
http://www.gmbacity.com/testcity/mybbs/mybbsindex.jsp
你的连接我看了,很不错,可以学习一下吗?
[email protected]
[email protected]
[email protected]
thanks
[email protected]
[email protected]
[email protected]
麻烦给我一份,先谢了!
[email protected]
[email protected]
<head>
<title>Net214.com</title>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312"><style type="text/css">
<!--
body { font-size: 9pt}
A { FONT-SIZE: 9pt}
A:hover { FONT-SIZE: 9pt }
-->
</style>
</head><body bgcolor="#FFFFFF"><!-- 把以下代码复制到你的网页中 --><!-- 代码开始处 --><script language="JavaScript1.2">
<!-- Code by 网页模板库(http://web.net214.com/)scores = new Array(20);var numTotal=0;NS4 = (document.layers) ? 1 : 0;IE4 = (document.all) ? 1 : 0;ver4 = (NS4 || IE4) ? 1 : 0;if (ver4) { with (document) { write("<STYLE TYPE='text/css'>"); if (NS4) { write(".parent {position:absolute; visibility:visible}"); write(".child {position:absolute; visibility:visible}"); write(".regular {position:absolute; visibility:visible}") } else { write(".child {display:none}") } write("</STYLE>"); }}function getIndex(el) { ind = null; for (i=0; i<document.layers.length; i++) { whichEl = document.layers[i]; if (whichEl.id == el) { ind = i; break; } } return ind;}function arrange() { nextY = document.layers[firstInd].pageY +document.layers[firstInd].document.height; for (i=firstInd+1; i<document.layers.length; i++) { whichEl = document.layers[i]; if (whichEl.visibility != "hide") { whichEl.pageY = nextY; nextY += whichEl.document.height; } }}function initIt(){ if (!ver4) return; if (NS4) { for (i=0; i<document.layers.length; i++) { whichEl = document.layers[i]; if (whichEl.id.indexOf("Child") != -1) whichEl.visibility = "hide"; } arrange(); } else { divColl = document.all.tags("DIV"); for (i=0; i<divColl.length; i++) { whichEl = divColl(i); if (whichEl.className == "child") whichEl.style.display = "none"; } }}function expandIt(el) { if (!ver4) return; if (IE4) { whichEl1 = eval(el + "Child"); for(i=1;i<=numTotal;i++){ whichEl = eval(scores[i] + "Child"); if(whichEl!=whichEl1) { whichEl.style.display = "none"; } } whichEl1 = eval(el + "Child"); if (whichEl1.style.display == "none") { whichEl1.style.display = "block"; } else { whichEl1.style.display = "none"; } } else { whichEl = eval("document." + el + "Child"); for(i=1;i<=numTotal;i++){ whichEl = eval("document." + scores[i] + "Child"); if(whichEl!=whichEl1) { whichEl.visibility = "hide"; } } if (whichEl.visibility == "hide") { whichEl.visibility = "show"; } else { whichEl.visibility = "hide"; } arrange(); }}onload = initIt;//-->
</SCRIPT><a href="#" onClick="expandIt('KB1'); return false">
<IMG SRC='plus.gif' BORDER=0>时间日期类</a></div><div id='KB1Child' class='child'>
<a href='time1.htm' target='_target'> <IMG SRC='blank.gif' BORDER=0>任意位置显示时钟</a><br>
<a href='time2.htm' target='_target'> <IMG SRC='blank.gif' BORDER=0>倒计时代码生成器</a><br>
<a href='time3.htm' target='_target'> <IMG SRC='blank.gif' BORDER=0>八种风格时间显示</a><br>
<a href='time8.htm' target='_target'> <IMG SRC='blank.gif' BORDER=0>全中文日期显示</a></div>
<div id='KB2Parent' class='parent'><a href="#" onClick="expandIt('KB2'); return false">
<IMG SRC='plus.gif' BORDER=0>页面导航类</a></div><div id='KB2Child' class='child'>
<a href='dao1.htm' target='_target'> <IMG SRC='blank.gif' BORDER=0>显示站点信息导航</a><br>
<a href='dao9.htm' target='_target'> <IMG SRC='blank.gif' BORDER=0>友情链接导航框</a><br>
<a href='dao10.htm' target='_target'> <IMG SRC='blank.gif' BORDER=0>目录式导航菜单</a><br>
<a href='dao11.htm' target='_target'> <IMG SRC='blank.gif' BORDER=0>重要信息说明脚本</a>
</div>
<div id='KB3Parent' class='parent'><a href="#" onClick="expandIt('KB3'); return false">
<IMG SRC='plus.gif' BORDER=0>页面背景类</a></div><div id='KB3Child' class='child'>
<a href='back1.htm' target='_target'> <IMG SRC='blank.gif' BORDER=0>背景向下移动</a><br>
<a href='back2.htm' target='_target'> <IMG SRC='blank.gif' BORDER=0>背景不停变换色彩</a><br>
<a href='back9.htm' target='_target'> <IMG SRC='blank.gif' BORDER=0>页面转换特效</a></div>
<div id='KB4Parent' class='parent'><a href="#" onClick="expandIt('KB4'); return false">
<IMG SRC='plus.gif' BORDER=0>页面特效类</a></div><div id='KB4Child' class='child'>
<a href='ye1.htm' target='_target'> <IMG SRC='blank.gif' BORDER=0>字符从空中掉下来</a><br>
<a href='ye17.htm' target='_target'> <IMG SRC='blank.gif' BORDER=0>鼠标响应文字变色</a>
</div><SCRIPT>numTotal=5;scores[1]='KB1';scores[2]='KB1';scores[3]='KB2';scores[4]='KB3';scores[5]='KB4';</SCRIPT><!-- 代码结束处 --></body>
</html>
[email protected]
网页是可以查看原代码的呀
树一般是js脚本,你们都可以在网站上下载回来的包括我那个论坛
http://www.gmbacity.com/testcity/mybbs/mybbsindex.jsp然后自己要做的就是如何组织自己的树,可以是固定的,也可以从数据库动态读出来
谢谢了
[email protected]
给我一份[email protected]