n Effects: Provides JavaScript libraries to achieve complex movements or interactions, like fading in
and out, of specified page elements.
The following sections explore each of these separate Spry uses in detail.
Integrating XML Data with Spry
One of the most compelling uses of Spry is to incorporate XML data into a standard Web page. A typical
use case includes a static XML file and two separate, but connected, areas on a single page. One area, called
the master region, lists the main data topics, such as movie titles. The second area, the detail region, displays
related aspects of the selected main topic, that is, the movie??™s plot, director, cast, and poster. Whenever
a user selects a different main topic, the details??”and only the details??”change; the rest of the page is not
reloaded. A good example of this type of Spry-driven interaction can be found on Adobe Labs
(http://labs.adobe.com/technologies/spry/demos/products/index.html), shown in
Figure 18-2.
FIGURE 18-2
Choose any Adobe product from the master region on the left to see related info in the detail region on the right.
596
Adding Advanced Design Features Part III
Integrating XML data into your Web page is not a trivial task??”but the results are totally worth the effort.
There are five primary steps to working with Spry data:
1.
Pages:
1056
1057
1058
1059
1060
1061
1062
1063
1064
1065
1066
1067
1068
1069
1070
1071
1072
1073
1074
1075
1076
1077
1078
1079
1080