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.

    document.mainTextArea.insertBox("table");
    
  • 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 ...

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

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.