With Dreamweaver, the drop-down list may be filled (populated) with dynamic
data, so that the navigation tool can keep track of the products entered in the data source.
A drop-down list is composed of two parts: the label and the value. The label is what the user sees when he
selects the list; the value is what the user submits by selecting a particular list choice. In many situations,
both the label and the value may be the same; in these cases, you can use the same data source field for
both. Otherwise, you need data source fields available??”this is how the product navigation example works.
One data source field contains an entry for every product line (the label), and another field contains a URL
to that product line??™s page on the Web site (the value). To link a drop-down list to dynamic data, follow
these steps:
1. Insert a list/menu form element on a dynamic page with a recordset.
2. If you have more than one list/menu on the page, select the one you want to convert.
3. From the Server Behaviors panel, choose Dynamic Form Elements ??? Dynamic List/Menu. The
Dynamic List/Menu dialog box (see Figure 23-13) is displayed.
4. In the Static Options box, add any nondynamic items to the top of the list menu. This could be
something as simple as a label for the list menu or as complicated as a full URL with query strings
for search pages.
Pages:
1274
1275
1276
1277
1278
1279
1280
1281
1282
1283
1284
1285
1286
1287
1288
1289
1290
1291
1292
1293
1294
1295
1296
1297
1298