动态树(一)
来源:互联网 发布:男淘宝头像图片大全 编辑:程序博客网 时间:2024/06/05 10:43
<script language="JavaScript">
function changetree(divid,atend,picture1,picture2)
{
if(document.all[divid].style.display=='none')
{
document.all[divid].style.display='';
if (atend==1)
document.all[picture1].src='../images/Tminus.gif';
else
document.all[picture1].src='../images/Lminus.gif';
document.all[picture2].src='../images/openfolder.gif';
}
else
{
document.all[divid].style.display='none';
if (atend==1)
document.all[picture1].src='../images/Tplus.gif';
else
document.all[picture1].src='../images/Lplus.gif';
document.all[picture2].src='../images/closefolder.gif';
}
}
function changeroot(divid,subtree,picture)
{
if(document.all[divid].style.display=='none')
{
document.all[divid].style.display='';
if (subtree==1)
document.all[picture].src='../images/openfolder1.gif';
else
document.all[picture].src='../images/openfolder0.gif';
}
else
{
document.all[divid].style.display='none';
document.all[picture].src='../images/closefolder.gif';
}
}
</script>
function changetree(divid,atend,picture1,picture2)
{
if(document.all[divid].style.display=='none')
{
document.all[divid].style.display='';
if (atend==1)
document.all[picture1].src='../images/Tminus.gif';
else
document.all[picture1].src='../images/Lminus.gif';
document.all[picture2].src='../images/openfolder.gif';
}
else
{
document.all[divid].style.display='none';
if (atend==1)
document.all[picture1].src='../images/Tplus.gif';
else
document.all[picture1].src='../images/Lplus.gif';
document.all[picture2].src='../images/closefolder.gif';
}
}
function changeroot(divid,subtree,picture)
{
if(document.all[divid].style.display=='none')
{
document.all[divid].style.display='';
if (subtree==1)
document.all[picture].src='../images/openfolder1.gif';
else
document.all[picture].src='../images/openfolder0.gif';
}
else
{
document.all[divid].style.display='none';
document.all[picture].src='../images/closefolder.gif';
}
}
</script>
阅读全文
0 0
- 动态树(一)
- 动态代理(一)
- 动态规划(一)
- 动态规划(一)
- 动态规划(一)
- 动态规划(一)
- 动态规划(一)
- 动态规划(一)
- 动态规划(一)
- 动态规划(一)
- 【动态规划(一)】动态规划基础
- 动态代理(一)---JDK动态代理
- 动态/静态库(一)
- 动态链接库(一)
- jdk动态代理(一)
- Spring动态代理(一)
- JDK动态代理(一)
- Java动态代理(一)
- Temporal Action Proposal 论文分享
- 对jquery mobile的学习过程一
- 安卓模拟器
- NOIP2017 模拟考试 day2 2017.10.07
- tomcat集群搭建
- 动态树(一)
- 系统工具
- 无人零售场景、技术全解读:伪需求or真风口?【附下载】| 智东西内参
- 简明Github Pages与Hexo教程
- c/c++ 字符转换为数字
- python里使用正则表达式的连接符
- MyBatis学习总结(二)——使用MyBatis对表执行CRUD操作
- Lesson 2:作业4:编写代码模拟手机与SIM卡的组合关系。
- mac 安全 没有允许任何来源