property firstContentChild

(r/o) box firstContentChild;

Typ

Zugriff

This property returns the first child within that content block. After that box has been retrieved, the other box navigation functions can be used to walk the DOM. This property is only valid if the box has a content tag.
function DisableMenuItems()
{
    var pupMnu = scene.getBoxById("myPopupMenu");
    if (pupMnu)
    {
        var cbox = pupMnu.firstContentChild;
        while (cbox)
        {
            cbox.disabled = true;
            cbox = cbox.nextSibling;
        }
    }
}