Spry User Guide - Support - Adobe
Spry User Guide - Support - Adobe
Spry User Guide - Support - Adobe
You also want an ePaper? Increase the reach of your titles
YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.
<br />
<br />
<br />
Dynamic Region Example<br />
<br />
<br />
<br />
var dsPhotos = new <strong>Spry</strong>.Data.XMLDataSet("/photos.php?galleryid=2000",<br />
"/gallery/photos/photo");<br />
<br />
<br />
<br />
<br />
<br />
sun.jpg<br />
tree.jpg<br />
surf.jpg<br />
<br />
<br />
<br />
<br />
If you do not want to output the content in a repeat region for every row in the data set, limit what gets written out<br />
during the loop processing by adding a spry:test attribute to the element that has the spry:repeat or<br />
spry:repeatchildren attribute on it.<br />
The following example shows an li blockthatisonlyoutputifthefirstletterofthevalueof{@path} starts with the<br />
letter s:<br />
<br />
<br />
<br />
<br />
Dynamic Region Example<br />
<br />
<br />
<br />
var dsPhotos = new <strong>Spry</strong>.Data.XMLDataSet("/photos.php?galleryid=2000",<br />
"/gallery/photos/photo");<br />
<br />
<br />
<br />
<br />
<br />
{@path}<br />
<br />
<br />
<br />
<br />
SPRY<br />
<strong>User</strong> <strong>Guide</strong><br />
130