<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 海賊 閱讀(666) 評論(0)  編輯  收藏 所屬分類: Javascripts

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


    網站導航:
    相關文章:
     
    主站蜘蛛池模板: 四虎亚洲精品高清在线观看| 亚洲AⅤ优女AV综合久久久| 久久夜色精品国产亚洲AV动态图| 国产午夜亚洲精品不卡| 性做久久久久免费观看| 亚洲av无码偷拍在线观看| 韩国日本好看电影免费看| 亚洲GV天堂GV无码男同| 国产美女被遭强高潮免费网站| 欧美亚洲精品一区二区| 免费a级毛片无码av| 成年免费a级毛片| 国产亚洲福利精品一区| 亚洲精品免费观看| 久久亚洲中文字幕精品有坂深雪| 日本免费久久久久久久网站| 国产亚洲一区二区三区在线观看| 久久aⅴ免费观看| 久久精品亚洲中文字幕无码网站 | 亚洲最新中文字幕| 99精品在线免费观看| 亚洲中字慕日产2020| 国产精品酒店视频免费看| 一级毛片a女人刺激视频免费| 亚洲AV无码成人精品区天堂 | 女人18毛片免费观看| 国产亚洲精品2021自在线| 亚洲一区日韩高清中文字幕亚洲 | 97在线线免费观看视频在线观看 | 欧美日韩亚洲精品| 亚洲色精品vr一区二区三区| 最近免费最新高清中文字幕韩国 | 亚洲中文字幕无码av在线| 日韩一区二区在线免费观看 | 亚洲国产午夜精品理论片在线播放 | 成人毛片18岁女人毛片免费看| 亚洲精品一卡2卡3卡四卡乱码| 亚洲精品视频在线看| 免费观看无遮挡www的小视频| 国产精品亚洲精品日韩电影| 婷婷精品国产亚洲AV麻豆不片|