Gabe the Animator wrote:
> How do I get it so
> it starts working like the sample? How do I link the XML
to the Spry Datasets,
> etc.???
That's why I asked how familiar you are with XML and Spry.
The Framework
that you have downloaded contains all the documentation
(double-click
Readme.html in the top-level folder). You can access the
example I
showed you online by loading samples/index.html, and clicking
the Data
Set Master/Detail link on the Spry Data and Dynamic Region
tab.
You can set up the first data set (for the states) in
Dreamweaver CS3 by
clicking the Spry Data Set button on the Spry Insert bar, and
navigating
to states.xml. Click Get schema, and select state as the Row
element.
Set up the second data set (for the cities) by choosing one
of the
individual states, and selecting city as the Row element.
That will
attach the correct JavaScript files to your page, as well as
creating
the basic Spry data sets. You then need to start digging in
the code to
amend it, changing the name of the XML file that you chose
for the
second data set to {dsStates::url}, and adding the Spry
regions in the
body of the page.
Spry results in very little markup, but understanding how
that markup
works involves a lot more work. The Spry documentation is
very
extensive, and requires careful study. (I've barely begun to
scratch the
surface of it myself.) You can also get help in the dedicated
Spry
forum, where several members of the Spry development team are
actively
involved in helping solve problems:
http://www.adobe.com/go/labs_spry_pr1_forum
--
David Powers, Adobe Community Expert
Author, "The Essential Guide to Dreamweaver CS3" (friends of
ED)
Author, "PHP Solutions" (friends of ED)
http://foundationphp.com/