dom.hasVerticalGuide()

Availability

Dreamweaver 8.

Description

This function determines whether the document has a vertical guide at the current location.

Arguments

location

Returns

A Boolean value: true if there is a vertical guide at the location; false otherwise.

Example

The following example deletes all guides in the document if the document has a vertical guide at the specified location:

var currentDOM = dw.getDocumentDOM();
if (currentDOM.hasVerticalGuide("10px") == 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_de111.htm