test
来源:互联网 发布:自定义明星语音软件 编辑:程序博客网 时间:2024/05/28 11:50
<script type="text/javascript">window.onload = function() { var tree = document.getElementById("tree"); var lis = tree.getElementsByTagName("li"); for(var i = 0; i < lis.length; i++) { (function(a) { lis[a].onclick = function() { if(typeof this.getElementsByTagName("ul") !== null) { var ul_first = this.getElementsByTagName("ul")[0]; if(ul_first.style.display == "block") ul_first.style.display = "none"; else ul_first.style.display = "block"; } }; })(i); }};</script><ul id="tree"><li>aaa<ul><li>1-1</li><li>1-2</li><li>1-3</li><li>1-4</li></ul></li><li>bbb<ul><li>2-1</li><li>2-2</li><li>2-3</li><li>2-4</li></ul></li><li>ccc<ul><li>3-1</li><li>3-2</li><li>3-3</li><li>3-4</li></ul></li></ul>
ffff
0 0
- test
- test
- test
- test
- test
- test
- test
- Test
- test
- Test
- test
- test
- test
- test
- test
- test
- test
- Test
- 插入排序算法(Java语言)
- PMI是什么参数在LTE中??和RI,CQI怎么作用的??
- 解决UIScrollView和滑动返回手势的冲突
- 工具类函数
- jquery结合highcharts插件显示实时数据动态曲线图
- test
- 位运算之指定位操作
- 食物网的结构动力学和鲁棒性 | Structural dynamics and robustness of food webs
- Bootstrap的常用类(CSS和布局组件)的总结
- mybatis源码笔记
- 一个Linux上自动安装Oracle JDK的小工具
- VNCViewerWindows下远程连接Linux桌面
- MYSQL数据库的相关操作
- struts上传文件限制