Children

Specifies the location where any child elements of the bound element are placed in the generated content.

Normally, if the element bound to has its own content, the anonymous content is not generated. However, with a children element, you can merge the content from the XUL element and the XBL content.

If the children tag contains content itself, that content will become the default content. If the element the binding is attached to contains content, the default content will be ignored. If the element does not contain content, the default content will be added.

More information about children

結びつけられた要素の子要素を、生成される内容のどこに置くかを指定する。

通常、結びつけられた要素が独自の内容を持つ場合、無名内容は生成されない。しかし子要素があると、XUL 要素の内容と XBL 内容とを合体することができる。

children タグ自身が内容を含むとき、その内容はデフォルト内容となる。バインディングづけされた要素が内容を含むときは、デフォルト内容は無視される。要素が内容を含まないときは、デフォルト内容が追加される。

children の追加情報

属性:

id includes

属性:

id

Type: element id, must be unique in the window

A unique identifier so that you can identify the children with. You can use this as a parameter to getElementById and other DOM functions and to reference the element in style sheets.

型 : 要素 id。ウィンドウ内で一意でなければならない。

children を識別できるユニークな識別子。getElementById や他の DOM 関数へのパラメータとして、またスタイルシートの要素への参照として使用することができる。

includes

Should be set to a tag name which acts as a filter for the XUL's content. Any tags that match the value of the includes attribute are placed at the location of the children element.

XUL の内容に対するフィルタとして動作するタグ名を設定すべきである。includes 属性の値にマッチする任意のタグが、子要素の場所に置かれる。


Copyright (C) 1999 - 2004 XulPlanet.com