Before you begin including dynamic data, you need to establish
a data source connection and recordset, so be sure you??™re
familiar with the techniques described in Chapter 19 before proceeding.
Inserting dynamic text
After you have a recordset or other data source declared, adding dynamic text is
as simple as dragging a field name onto the page. After the field is inserted,
Dreamweaver displays it with the syntax {recordset_name.field_name}.
For example, the column named CITY located in a recordset named rsLocations
CROSS-REF CROSS-REF
669
IN THIS CHAPTER
Integrating text from a
data source
Dreamweaver Technique: Adding
Dynamic Data
Formatting dynamic text
Inserting graphics dynamically
Dreamweaver Technique:
Making Dynamic Images
Working with Flash dynamically
Making Data
Dynamic
is displayed as {rsLocations.CITY}. If you choose View ??? Visual Aids and enable the Invisible
Elements option, the inserted data is highlighted (according to the color selected in Preferences), as shown
in Figure 20-1.
FIGURE 20-1
Placeholders for dynamic data are considered invisible elements in Dreamweaver and are highlighted accordingly.
Dynamic pages are a combination of standard HTML and dynamic elements. It??™s possible to build the page
in any order.
Pages:
1165
1166
1167
1168
1169
1170
1171
1172
1173
1174
1175
1176
1177
1178
1179
1180
1181
1182
1183
1184
1185
1186
1187
1188
1189