MACROMEDIA DREAMWEAVER 8-EXTENDING DREAMWEAVER Manual page 78

Extending dreamweaver
Table of Contents

Advertisement

Attributes
doctypes
doctypes="doc_type1, doc_type2,..."
text appears.
Example
<sampleText doctypes="JavaScript"><![CDATA[/* JavaScript */
function displayWords(arrayWords) {
for (i=0; i < arrayWords.length(); i++) {
// inline comment
alert("Word "
}
}
var tokens = new Array("Hello", "world");
displayWords(tokens);
]]></sampleText>
<searchPattern>
Description
A string of characters that define a regular search pattern using supported wildcard characters.
Multiple
searchPattern
Attributes
None.
Container
The
tag.
regexp
Example
<searchPattern><![CDATA[(\s*/\e*\\/]]></searchPattern>
<stringStart>
Description
These tags contain a text string that represents the delimiter of the start of a string. You must
specify the
stringStart
pairs are allowed.
78
Customizing Code View
+ i +
" is "
+ arrayWords[i]);
tags are allowed.
and
tags in pairs. Multiple
stringEnd
The document types for which this sample
stringStart
...
stringEnd

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the DREAMWEAVER 8-EXTENDING DREAMWEAVER and is the answer not in the manual?

Questions and answers

This manual is also suitable for:

Dreamweaver 8

Table of Contents