spacer

Webref WebRef   Sitemap · Experts · Tools · Services · Newsletters · About i.com

home / experts / javascript / column48


Using JavaScript in HomeSite 4.0, Part I

Developer News
Microsoft Shows Off Silverlight 4, IE9 Plans
Metasploit Expands Vulnerability Test Framework
HyperCard Reborn?

The Application Object's Properties, Part II

DocumentCache Read-only Array (of Objects)

We'll discuss this property in our next column.

DocumentIndex Read-Write Integer

Holds the tab index of the active document. Since multiple documents can be open simultaneously, each one has an index, based on its tab. For instance, in the following situation the value of the DocumentIndex index property is 2:

Several Tabs

Keep in mind that the first document (apppro.html) is equivalent to a value of 0. You can set the value of this property in order to determine the current document (the active one).

DocumentCount Read-only Integer

Returns the number of open documents. In the preceding example, the value of this property is 4.

ExeName Read-only String

Returns the filename of the application executable, including path. This property is equivalent to AppPath plus the name of the file (normally homesite4.exe). The value of this property could be "D:\PROGRAM FILES\ALLAIRE\HOMESITE4\HOMESITE4.EXE."

http://www.internet.com

Produced by Yehuda Shiran and Tomer Shiran

internet.commediabistro.comJusttechjobs.comGraphics.com

Search:

WebMediaBrands Corporate Info

Legal Notices, Licensing, Permissions, Privacy Policy.
Advertise | Newsletters | Shopping | E-mail Offers | Freelance Jobs

webref The latest from WebReference.com Browse >
Rolling Out Your Own HTML Application Version Control · HTML 5: Client-side Storage · Working with Ajax Server Extensions
Sitemap · Experts · Tools · Services · Email a Colleague · Contact FREE Newsletters 
 The latest from internet.com
Wi-Fi Product Watch, November 2009 · Chip Market Recovering From '08 Collapse · Low-Cost Tools to Kickstart Your New Business


Created: September 13, 1999
Revised: September 13, 1999

URL: http://www.webreference.com/js/column48/apppro2.html