The JavaScript Tree Component

Frequently Asked Questions


Send comments and questions about this article to View Source.

  1. Trees in Frames?
  2. Form Input Fields, and other Native Components?
  3. Tree sizing?

  1. Q. Trees in Frames?

    A. HTML and CSS-P-based content cannot overlap across frameset borders -- just as images can't. See the "Trees in Frames" section in the article at the following URL:

    http://developer.iplanet.com/viewsource/smith_jstree/smith_jstree.html

  2. Q. Form Input Fields, and other Native Components?

    A. HTML and CSS-P-based content cannot overlap across any native OS-based components, such as: framesets, applets, or even standard Form input elements. This is a web browser limitation that you'll need to work-around, e.g. by either re-arranging your content so that the trees don't overlap across the area, or by wrapping the native components inside an CSS-P element and then hiding that element when the tree is displayed.

  3. Q. Tree sizing?

    A. To control the size of the tree items, set the following tree item width and height properties:

    myTree.treeItemWidth = 200;
    myTree.treeItemHeight = 20;
    

More FAQ's Coming Soon...


Further Resources



View Source wants your feedback!
Write to us and let us know
what you think of this article.