Appendix C. Managed Layout Tags

This appendix lists the markup items that you can manipulate with functions of the layout Object (page 191), layout.grid Object (page 193), and textArea Object (page 278) without causing GoLive to reparse the document.

  • The textArea Object’s insertBox (page 280) function can insert supported elements in a document’s main text area.

  • The layout.grid Object’s insertBox (page 194) function can place supported elements on a layout grid in Layout view.

    var bod = document.documentElement.getSubElement("body");
    var result = bod.layout.grid.insertBox("hr");
  • The layout Object’s getAttribute, setAttribute, and hasAttribute functions (page 191) can edit the attributes of supported elements. ...

Get Adobe GoLive CS2 Official JavaScript Reference now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.