But how does it handle images? Dreamweaver dynamically inserts images by
using the path to the image rather than the image itself. Proper database setup is critical for Dreamweaver to
correctly deliver dynamic images. For example, a product database might have the following records:
SKU# Name Cost Image
10101 Widget-O-Wonder $99.99 /images/products/w_wonder.gif
10102 WidgetMatic $49.99 /images/products/w_matic.gif
10103 Widget-Ultimo $999.99 /images/products/w_ultimo.gif
In this example, Dreamweaver extracts the data from the Image field and plugs that data into an attribute of
the
![]()
tag??™s src attribute. Because site-root-relative links are used in the data source the images can be
inserted dynamically from any page in the site. If your dynamic images are located on a remote server, you
must enter a full URL??”with the http:// prefix??”in a text field in the data source.
683
Making Data Dynamic 20
This routine works well for the site, but it would have to be modified to handle 12 Noon and 12 Midnight circumstances.
In addition to the Hour() function, VBScript has similar functions to extract other time elements:
Minute() and Second(). For dates, use the comparable Month(), Day(), and Year()
functions. All these functions return number values, which you can convert to names by further use of the
MonthName() function.
Pages:
1181
1182
1183
1184
1185
1186
1187
1188
1189
1190
1191
1192
1193
1194
1195
1196
1197
1198
1199
1200
1201
1202
1203
1204
1205