Adobe Dreamweaver API Reference CS5 Manuale Utente Pagina 384

  • Scaricare
  • Aggiungi ai miei manuali
  • Stampa
  • Pagina
    / 533
  • Indice
  • SEGNALIBRI
  • Valutato. / 5. Basato su recensioni clienti
Vedere la pagina 383
379
Last updated 8/27/2013
Chapter 17: Design
The Design functions in Adobe® Dreamweaver® perform operations related to designing the appearance of a
document. The operations include functions that enable you to perform the following:
Apply a specified cascading style sheet (CSS) style
Split a selected frame vertically, or horizontally
Align selected layers or hotspots
Play a selected plug-in item
Create a layout cell
Manipulate table rows or column
CSS layout functions
CSS functions handle applying, removing, creating, and deleting CSS styles. Methods of the
dreamweaver.cssRuleTracker object either control or act on the selection in the CSS rule tracker panel of the
Selection inspector. Methods of the
dreamweaver.cssStylePalette object either control or act on the selection in
the Styles panel, not in the current document.
dom.applyLayout()
Availability
Dreamweaver CS3.
Description
Applies a CSS-based layout to the document. The document body must be empty, and the document must be a page
where you can apply a layout. That is:
A page that is HTML based, such as HTML, XHTML, ColdFusion, PHP, and so on, (but not CSS, XML, JavaScript,
and so on).
A page that is not a frameset or a template instance (although a template itself is fine).
Arguments
layout-index, CSS, cssFileName, preventOverwrite
layout-index is an integer, zero-based index that specifies the layout to use. This is an index to the list of layouts,
which is used to return the
layoutNames and layoutDescriptions in the corresponding functions.
CSS specifies where to put the CSS layout. Possible values are:
embed" - embed the CSS in the document head.
link" - link to cssFileName.
create_and_link" - write CSS in cssFileName and link to that.
import"- import cssFileName.
Vedere la pagina 383
1 2 ... 379 380 381 382 383 384 385 386 387 388 389 ... 532 533

Commenti su questo manuale

Nessun commento