<rt id="bn8ez"></rt>
<label id="bn8ez"></label>

  • <span id="bn8ez"></span>

    <label id="bn8ez"><meter id="bn8ez"></meter></label>

    小海賊的夜晚

      BlogJava :: 首頁 :: 新隨筆 :: 聯系 :: 聚合  :: 管理 ::
      14 隨筆 :: 0 文章 :: 9 評論 :: 0 Trackbacks

    Functions

    add()

    Adds a node to the tree.
    Can only be called before the tree is drawn.

    id, pid and name are required.

    Parameters

    Name Type Description
    id Number Unique identity number.
    pid Number Number refering to the parent node. The value for the root node has to be -1.
    name String Text label for the node.
    url String Url for the node.
    title String Title for the node.
    target String Target for the node.
    icon String Image file to use as the icon. Uses default if not specified.
    iconOpen String Image file to use as the open icon. Uses default if not specified.
    open Boolean Is the node open.

    Example

    mytree.add(1, 0, 'My node', 'node.html', 'node title', 'mainframe', 'img/musicfolder.gif');


    openAll()

    Opens all the nodes.
    Can be called before and after the tree is drawn.

    Example

    mytree.openAll();


    closeAll()

    Closes all the nodes.
    Can be called before and after the tree is drawn.

    Example

    mytree.closeAll();


    openTo()

    Opens the tree to a certain node and can also select the node.
    Can only be called after the tree is drawn.

    Parameters

    Name Type Description
    id Number Identity number for the node.
    select Boolean Should the node be selected.

    Example

    mytree.openTo(4, true);

    Configuration

    Variable Type Default Description
    target String true Target for all the nodes.
    folderLinks Boolean true Should folders be links.
    useSelection Boolean true Nodes can be selected(highlighted).
    useCookies Boolean true The tree uses cookies to rember it's state.
    useLines Boolean true Tree is drawn with lines.
    useIcons Boolean true Tree is drawn with icons.
    useStatusText Boolean false Displays node names in the statusbar instead of the url.
    closeSameLevel Boolean false Only one node within a parent can be expanded at the same time. openAll() and closeAll() functions do not work when this is enabled.
    inOrder Boolean false If parent nodes are always added before children, setting this to true speeds up the tree.

    Example

    mytree.config.target = "mytarget";

    posted on 2005-07-27 11:33 海賊 閱讀(663) 評論(0)  編輯  收藏 所屬分類: Javascripts

    只有注冊用戶登錄后才能發表評論。


    網站導航:
    博客園   IT新聞   Chat2DB   C++博客   博問  
    相關文章:
     
    主站蜘蛛池模板: 污污污视频在线免费观看| 免费v片在线观看品善网| 182tv免费视频在线观看| 99亚洲男女激情在线观看| 亚洲欧洲校园自拍都市| 亚洲成AV人片在| 中文字幕第13亚洲另类| 日产国产精品亚洲系列| 在线精品免费视频无码的| 67194熟妇在线永久免费观看| 久久久久久影院久久久久免费精品国产小说 | 国产亚洲精品激情都市| 在线观看永久免费视频网站| 中文字幕无码不卡免费视频| 亚洲黄色免费在线观看| 亚欧日韩毛片在线看免费网站| 韩国免费a级作爱片无码| 中美日韩在线网免费毛片视频 | 24小时免费直播在线观看| 亚洲一区在线免费观看| 久草免费手机视频| 青柠影视在线观看免费高清| 高清永久免费观看| 精品97国产免费人成视频| 九九视频高清视频免费观看| 免费在线人人电影网| 特级毛片在线大全免费播放| 免费精品久久久久久中文字幕| 极品美女一级毛片免费| 无套内射无矿码免费看黄| 水蜜桃视频在线观看免费| 特黄aa级毛片免费视频播放| 精品在线免费视频| 深夜a级毛片免费无码| 国产精品免费观看视频| 成全动漫视频在线观看免费高清版下载 | 中文字幕无码一区二区免费| baoyu122.永久免费视频| 亚欧日韩毛片在线看免费网站| 亚欧免费视频一区二区三区 | 亚洲av中文无码字幕色不卡|