Macromedia dreamweaver 8-using dreamweaver Benutzerhandbuch

Seite von 1030
724
Chapter 35:  Displaying Database Records
To apply data formats to dynamic content: 
1.
Select the dynamic content in either the Live Data window or its placeholder in the 
Document window.
2.
Select Window > Bindings to display the Bindings panel.
3.
Click the down arrow button in the Format column. 
If the down arrow is not visible, expand the panel.
4.
From the Format pop-up menu, select the data format category you want.
Ensure that the data format is appropriate for the type of data you are formatting. For 
example, the Currency formats work only if the dynamic data consists of numerical data. 
Note that you cannot apply more than one format to the same data.
5.
Verify that the format was applied correctly by previewing the page in either the Live Data 
window or a browser.
Related topics
Customizing existing data formats 
You can customize the Dreamweaver existing data formats or create your own.
To customize a data format:
1.
Open a page that contains dynamic data in Design view.
2.
Select the dynamic data whose format you want to customize.
3.
Select Window > Bindings to display the Bindings panel.
The bound data item whose dynamic text you selected will be highlighted. 
4.
Click the down arrow in the Format column to expand the pop-up menu of available 
data formats.
If the down arrow is not visible, expand the panel.
5.
Select Edit Format List from the pop-up menu.
The Edit Format List dialog box appears. 
6.
Complete the dialog box and click OK.
For more information, click the Help button in the dialog box.
Related topics