<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人片在线观看无码专区| 无码日韩精品一区二区免费| 亚洲国产精品国产自在在线| 国产亚洲精品2021自在线| 午夜小视频免费观看| 亚洲AV日韩AV一区二区三曲| 色噜噜亚洲精品中文字幕| 污污视频网站免费观看| 国产免费私拍一区二区三区| 色噜噜狠狠色综合免费视频| 亚洲精品黄色视频在线观看免费资源| 综合一区自拍亚洲综合图区| 免费在线视频一区| eeuss影院免费92242部| 国产亚洲精品a在线观看app| 中文字幕乱码亚洲精品一区| 精品国产精品久久一区免费式| 久久亚洲AV成人无码国产最大| 亚洲精品乱码久久久久久不卡| h片在线播放免费高清 | 无码天堂亚洲国产AV| 亚洲女人被黑人巨大进入| 三根一起会坏掉的好痛免费三级全黄的视频在线观看 | 亚洲精品成人片在线观看精品字幕 | 亚洲精品无码中文久久字幕| 全部免费国产潢色一级| 国产美女视频免费观看的网站| 国产亚洲av片在线观看播放| 18禁美女黄网站色大片免费观看| 亚洲一级毛片免费观看| 可以免费观看的一级毛片| 国产婷婷成人久久Av免费高清 | 国产精品自在自线免费观看| 国产免费内射又粗又爽密桃视频| 亚洲人成影院在线| 日本人护士免费xxxx视频| a级日本高清免费看| 中文日韩亚洲欧美制服| 亚洲午夜爱爱香蕉片| 国产成人人综合亚洲欧美丁香花| 亚洲午夜久久久久久久久久|