dom.hasGuides()

Availability

Dreamweaver 8.

Description

This function determines whether the document has at least one guide. You can set and get this property.

Arguments

None.

Returns

Nothing.

Example

The following example deletes all guides in the document if the document has at least one guide:

var currentDOM = dw.getDocumentDOM();
  if (currentDOM.hasGuides() == true) {
   currentDOM.clearGuides();
}

 

Send me an e-mail when comments are added to this page | Comment Report

Current page: http://livedocs.adobe.com/dreamweaver/8/apiref/17_de109.htm