Adobe Extending Dreamweaver CS4 User Manual

Page 78

Advertising
background image

72

EXTENDING DREAMWEAVER CS4

Customizing Code view

The following related files are supported:

Related files APIs
You can customize the related files menu to display the following:

Filenames of the related file

Source HTML and Generated Source code

The

dreamweaver.openRelatedFile()

function displays the related file in the Code view and the

dreamweaver.getActiveRelatedFilePath()

function displays the path for the currently opened related file. For

more information on using these APIs, see "Related files functions" in the Dreamweaver API Reference.

First-level child document

Any document that is one level deep
from the parent document. These
documents affect generation of HTML
code, except for CSS. CSS files can
include other CSS files, but all of them
together determine the final styles
applied to the page.

Script file specified by <SCRIPT src="file.js">

Server-side Include

External CSS

Spry XML and HTML data sets

Library item

<iframe> - remote source

Object tag

Deeper-level child
document

Any document that is more than two
levels away from the parent document.
These documents affect generation of
HTML code.

PHP within PHP

DTDs

Templates

Non-related file

Any document which does not affect
generation of HTML code or any files
that a user does not actively edit.

Image files

Media files

Externally linked files by an <a> tag

Type

Description

Nesting level

Client-side script

All languages

1 (nesting script is not possible)

Server-side
includes

When all of the following extensible
conditions are true:

Defined Server Model

Defined SSI statement (that is pattern)

Defined DW doctype

Exception: Apache-style include file
statements (

<!--#include ... -->

) in

HTML documents is recognized.

1

Spry data set

1 (nesting script is not possible)

CSS

All external CSS for all media types

DTSS

Infinite

Term

Description

Example

Advertising
This manual is related to the following products: