The
argument is the location of the guide with both the value and units as one
location
string, with no space between the value and units. The possible units are
and
for percentage. For example, to specify 10 pixels,
"%"
50 percent,
location = "50%"
Returns
Nothing.
Example
The following example creates a horizontal guide in the document at the current location:
var currentDOM = dw.getDocumentDOM();
currentDOM.createHorizontalGuide("10px");
dom.createVerticalGuide()
Availability
Dreamweaver 8.
Description
This function creates a vertical guide at the current location in the document.
Arguments
location
The
argument is the location of the guide with both the value and units as one
location
string, with no space between the value and units. The possible units are
and
for percentage. For example, to specify 10 pixels,
"%"
50 percent,
location = "50%"
Returns
Nothing.
Example
The following example creates a vertical guide in the document at the current location:
var currentDOM = dw.getDocumentDOM();
currentDOM.createVerticalGuide("10px");
.
.
"px"
location = "10px"
"px"
location = "10px"
Guide functions and properties
for pixels
; to specify
for pixels
; to specify
469
Need help?
Do you have a question about the DREAMWEAVER 8-DREAMWEAVER API and is the answer not in the manual?