Using JavaScript in HomeSite 4.0, Part II
Using JavaScript in HomeSite 4.0, Part II
Macromedia's HomeSite 4.0 HTML editor is one of the most popular HTML editors around. It introduces many powerful features that simply aren't supported by other well-known editors. This column is part II of a three-part series on using JavaScript in HomeSite 4.0. In Part I, we taught you how to write and execute scripts, and how to use Application
Object's methods and properties. In this column, we'll show you how to use JavaScript to take advantage of HomeSite 4.0's powerful ability to manipulate toolbars. We'll introduce its concept of Projects, found in other known development environments, and we'll show you how to control projects with JavaScript. To boost performance, HomeSite deals with one active document while caching all the other open documents. We'll teach you how to use its DocumentCache
and ActiveDocument
objects. You'll find out:
- How to manipulate HomeSite's toolbars:
- How to control HomeSite's projects:
- How to modify HomeSite's cached documents
- How to use the active document's properties
- How to use the active document's methods:
Produced by Yehuda Shiran and Tomer Shiran
Created: September 27, 1999
Revised: September 27, 1999
URL: https://www.webreference.com/js/column49