文件名称:AienTree
- 所属分类:
- WEB源码
- 资源属性:
- [JavaScript] [源码]
- 上传时间:
- 2016-01-15
- 文件大小:
- 8kb
- 下载次数:
- 0次
- 提 供 者:
- dmp****
- 相关连接:
- 无
- 下载说明:
- 别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容均来自于网络,请自行研究使用
说明:支持无限子节点;
语法:var treeName=new AienTree(title,url,target,fn,opend,canLink)
参数说明:
title 字符,节点显示的文本
url 字符,节点链接到的地址
target 字符,链接打开的目标窗口,可选,默认为_blank
fn 函数,单击节点时执行的函数,可选
opend 布尔值,是否展开;true为展开,false为闭合,可选,默认为闭合
canLink 布尔值,如果有子节点,是否禁止链接;true为禁止,false为不禁止;如果本节点有子节点,并且本参数设置为true时,url将失效;默认为true(有子节点时链接失效)
addChild方法的参数和AienTree的参数意义一样;本方法返回以传递参数构建的节点对象
createMenu(obj),参数obj为树形结构附加到得标签ID,组织完一个树形结构后调用 -Support infinite sub node
Syntax: treeName=new AienTree var (title, URL, target, FN, opend, canLink,)
Parameter descr iption:
Title character, the text of the node display
Url character, node linked to the address
Target character, link to open the target window, optional, the default is _blank
Fn function, when the node is d when the function, optional
Opend Boolean value, whether to start true to expand, false for the closure, optional, the default is closed
CanLink Boolean value. If there is a child node, whether banning link true to prohibit, false is not prohibited if the node has child nodes and this parameter has been set to true, URL will fail default is true (a child node link failure)
The parameter of the addChild method is the same as that of the AienTree. The method returns the node object that is constructed with the passing parameters.
CreateMenu (obj), the parameter obj for the tree structure attached to the label ID, after the organization of a tre
语法:var treeName=new AienTree(title,url,target,fn,opend,canLink)
参数说明:
title 字符,节点显示的文本
url 字符,节点链接到的地址
target 字符,链接打开的目标窗口,可选,默认为_blank
fn 函数,单击节点时执行的函数,可选
opend 布尔值,是否展开;true为展开,false为闭合,可选,默认为闭合
canLink 布尔值,如果有子节点,是否禁止链接;true为禁止,false为不禁止;如果本节点有子节点,并且本参数设置为true时,url将失效;默认为true(有子节点时链接失效)
addChild方法的参数和AienTree的参数意义一样;本方法返回以传递参数构建的节点对象
createMenu(obj),参数obj为树形结构附加到得标签ID,组织完一个树形结构后调用 -Support infinite sub node
Syntax: treeName=new AienTree var (title, URL, target, FN, opend, canLink,)
Parameter descr iption:
Title character, the text of the node display
Url character, node linked to the address
Target character, link to open the target window, optional, the default is _blank
Fn function, when the node is d when the function, optional
Opend Boolean value, whether to start true to expand, false for the closure, optional, the default is closed
CanLink Boolean value. If there is a child node, whether banning link true to prohibit, false is not prohibited if the node has child nodes and this parameter has been set to true, URL will fail default is true (a child node link failure)
The parameter of the addChild method is the same as that of the AienTree. The method returns the node object that is constructed with the passing parameters.
CreateMenu (obj), the parameter obj for the tree structure attached to the label ID, after the organization of a tre
(系统自动生成,下载前可以参看下载内容)
下载文件列表
AienTree\aien.tree.js
........\ico\close.gif
........\...\close.png
........\...\normal.gif
........\...\normal.png
........\...\open.gif
........\...\open.png
........\index.html
........\ico
AienTree
........\说明.htm