Adobe Dreamweaver API Reference CS5 Uživatelský manuál Strana 433

  • Stažení
  • Přidat do mých příruček
  • Tisk
  • Strana
    / 533
  • Tabulka s obsahem
  • KNIHY
  • Hodnocené. / 5. Na základě hodnocení zákazníků
Zobrazit stránku 432
428
DREAMWEAVER API REFERENCE
Design
Last updated 8/27/2013
Returns
Nothing.
Example
The following example makes guides in the document snap to elements:
var currentDOM = dw.getDocumentDOM();
if (currentDOM.guidesSnapToElements == false) {
currentDOM.guidesSnapToElements = true;
}
dom.guidesVisible
Availability
Dreamweaver 8.
Description
This mutable Boolean property determines whether guides are visible in the document. You can set and get this
property.
Arguments
None.
Returns
Nothing.
Example
The following example turns guides on if they are not visible:
var currentDOM = dw.getDocumentDOM();
if (currentDOM.guidesVisible == false) {
currentDOM.guidesVisible = true;
}
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.
Zobrazit stránku 432
1 2 ... 428 429 430 431 432 433 434 435 436 437 438 ... 532 533

Komentáře k této Příručce

Žádné komentáře