You can dynamically change the appearance of a page by binding HTML attributes to data. For example, you can change the background image of a table by binding the table's background attribute to a field in a recordset.
You can bind HTML attributes with the Bindings panel or with the Property inspector.
The content source should contain data that's appropriate for the HTML attribute you want to bind. If no sources of content appear in the list, or if the available content sources don't meet your needs, click the Plus (+) button to define a new data source. For instructions, see Defining Sources of Dynamic Content.
For example, to select an HTML table, click inside the table and click the <table> tag in the the tag selector on the bottom-left of the Document window.
The next time the page runs on the application server, the value of the data source will be assigned to the HTML attribute.
For example, to select an HTML table, click inside the table and click the <table> tag in the tag selector on the bottom-left of the Document window.
The Property inspector's List view appears.
If you clicked the lightning bolt icon, a list of data sources appears.
Here's an example:
If you clicked the folder icon, a file selection dialog box appears. Select the Data Sources option to display a list of content sources.
The content source should hold data that's appropriate for the HTML attribute you want to bind. If no content sources appear in the list, or if the available content sources don't meet your needs, define a new content source. For instructions, see Obtaining Data for Your Page.
The next time the page runs on the application server, the value of the data source will be assigned to the HTML attribute.
RSS feed | Send me an e-mail when comments are added to this page | Comment Report
Current page: http://livedocs.adobe.com/dreamweaver/8/using/36_addi7.htm
Comments
Jon9999 said on Jul 4, 2006 at 9:59 PM :