What is Spry?
Ajax is a big hit in the Web community, and many, many developers have begun to look for ways to make it
easier to integrate into their sites. Adobe jumped on the Ajax bandwagon with Spry in early 2006 through a
public release of the technology on the Adobe Labs site (see Figure 18-1). Spry is officially known as a
framework for Ajax: a framework is a set of JavaScript libraries combined with methods for applying the
JavaScript functions in standard Web pages.
594
Adding Advanced Design Features Part III
FIGURE 18-1
Investigate the Spry framework at the Adobe Labs site.
Adobe continues to develop the Spry framework. As of this writing, the version available on
the Adobe Labs site is 1.5. To meet documentation and localization requirements,
Dreamweaver CS3 ships with version 1.4. Certain functionality and methods of implementation evidenced
on the Labs site may not be available without hand-coding in Dreamweaver.
The initial step to working with Spry is to include links to the necessary JavaScript files in your document.
When you begin to work with Spry data objects two key files, xpath.js and SpryData.js, are
required. Dreamweaver automatically transfers the files you need to your site root and links to these files:
Pages:
1054
1055
1056
1057
1058
1059
1060
1061
1062
1063
1064
1065
1066
1067
1068
1069
1070
1071
1072
1073
1074
1075
1076
1077
1078