GoLive passes relevant objects as event-object property values to event-handling functions.įor information on retrieving a particular object, see that object’s description in the GoLive CS2 SDK Programmer’s Reference.(page 138) for the page ( document.documentElement), and that object’s properties and methods allow you to navigate the tree. Objects that represent HTML page content are available from the markup tree you get the root object from the document Object.You can retrieve most component objects by name from global properties, such as the menus and dialogs collections.There are various ways to obtain a reference to a JavaScript object, depending on the object’s type. For example, a element in your extension definition results in a window Object (page 313). When GoLive loads an extension definition file (that is, the Main.html file for your extension), it creates JavaScript objects to represent the GoLive components you define, such as windows, UIĬontrols, and menu items.Markup objects can represent HTML markup elements (as defined by a tag and its attributes), and also comments, text blocks,Īnd other types of markup such as entities or CDATA sections. That represent portions of the markup document are known as markup objects. When GoLive loads a markup document, it generates objects to represent the markup tree of a document.GoLive JavaScript objects can represent parts of a document, or GoLive components: Various ways an extension’s JavaScript code can access data and objects in the GoLive environment. Will discover that the GoLive environment usually provides multiple ways to access data and objects. GoLive provides access to data and objects in a way that JavaScript programmers will find familiar. JavaScript Objects in the GoLive Environment JavaScript Objects in the GoLive Environment.This chapter discusses JavaScript and ECMAScript/ExtendScript concepts and usage in GoLive, including:
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |