Joseph W. Lowery
"Dreamweaver CS3 Bible"
setCurrentRow(???{ds_RowID}??™);???>
{name} |
{location} |
{date} |
The key code line here is the second
tag that repeats the data and contains the following event:
onclick=???ds1.setCurrentRow(???{ds_RowID}??™);???
This event, translated into English, reads, ???When a user clicks on any row, display the data with that row??™s ID
in the associated Spry detail region for data set ds1.??? Note that both the master and detail regions use the
same data set, ds1. It is possible for different data sets to be used by assuring that the data set for the detail
region is defined to contain a reference to a node in the master region data set. For more details on this technique,
visit http://labs.adobe.com/technologies/spry/articles/data_set_overview/
#MasterDetailRelationshipsSection.
A typical workflow might be to convert an existing layout with static, placeholder text to one that displays
Spry data. In this workflow, you would attach the Spry XML data set, surround your intended data areas
with Spry regions and then begin replacing the placeholder text with Spry data columns.
Dragging or inserting works well when the data column is a text, number or data type, but what if it is the
path to an image file? If you??™ve set the data column type to Image Link in the XML Spry Data Set dialog box,
the data column is inserted within an
, like this:

To set the image src attribute for a Spry data column that has not been set as an Image Link type, follow
these steps:
1.
Pages:
1065
1066
1067
1068
1069
1070
1071
1072
1073
1074
1075
1076
1077
1078
1079
1080
1081
1082
1083
1084
1085
1086
1087
1088
1089