Guys,
Can someone please ... I'm trying to add a dynamic caption to the
following photo gallery:
http://www.stevenbeverage.com/gallery.html
Right now, I'm just using the image path for the caption, but it doesn't
change with when a new image is loaded. I started with the demo files provided
in the spry frameworks download.
Here is my code (the important parts anyhow):
<link href="spry/screen.css" rel="stylesheet" type="text/css" />
<script type="text/javascript" src="spry/SpryEffects.
js"></script>
<script type="text/javascript" src="spry/SpryDOMUtils.
js"></script>
<script type="text/javascript" src="spry/SpryImageLoader.
js"></script>
<script type="text/javascript" src="spry/SpryNotifier.
js"></script>
<script type="text/javascript" src="spry/SpryThumbViewer.
js"></script>
<script type="text/javascript" src="spry/SpryImageViewer.
js"></script>
<script type="text/javascript" src="spry/SprySlideShowControl.
js"></script>
<script type="text/javascript" src="spry/gallery_init.
js"></script>
<script type="text/javascript" src="spry/xpath.
js"></script>
<script type="text/javascript" src="spry/SpryData.
js"></script>
<script type="text/javascript" src="spry/gallery_xds.
js"></script>
<script src="SpryAssets/SpryTabbedPanels.
js" type="text/javascript"></script>
<link href="SpryAssets/SpryTabbedPanels.css" rel="stylesheet" type="text/css"
/>
<script type="text/javascript">
var dsPhotos = new Spry.Data.XMLDataSet("gallery/sculptures.xml", "/gallery",
{ subPaths: "photos/photo", filterDataFunc: PhotosFilter });
var dsData = new Spry.Data.XMLDataSet("gallery/sculptures.xml", "/gallery", {
subPaths: "photos/photo", filterDataFunc: PhotosFilter });
</script>