Answered
Display Images Instead Of Field Names
Hi There,
I am trying to use some animation slide show Moo Tool for a web page that uses a SPRY/AJAX results and detail data and set.The problem looks to be that the data fields are not being parsed to present the file paths of where the images are located. Here is the particular snippet of code in question, and I can post the whole code if needed.
<script type="text/javascript" src="JavascriptFiles/Slideshow2r113/Slideshow 2!/js/slideshow.kenburns.js"></script>
<script type="text/javascript">
//<![CDATA[
window.addEvent('domready', function(){
var data = {
'{rsListing::IMXA}': { caption: 'Volcano Asención in Ometepe, Nicaragua.' },
'{rsListing::IMXB}': { caption: 'A Ceibu tree.' },
'{rsListing::IMXC}': { caption: 'The view from Volcano Maderas.' },
'{rsListing::IMXD}': { caption: 'Beer and ice cream.' }
};
var myShow = new Slideshow.KenBurns('show', data, {controller: true, height: 400, thumbnails: false, width: 300});
});
//]]>
Appreciate your input.
I am trying to use some animation slide show Moo Tool for a web page that uses a SPRY/AJAX results and detail data and set.The problem looks to be that the data fields are not being parsed to present the file paths of where the images are located. Here is the particular snippet of code in question, and I can post the whole code if needed.
<script type="text/javascript" src="JavascriptFiles/Slideshow2r113/Slideshow 2!/js/slideshow.kenburns.js"></script>
<script type="text/javascript">
//<![CDATA[
window.addEvent('domready', function(){
var data = {
'{rsListing::IMXA}': { caption: 'Volcano Asención in Ometepe, Nicaragua.' },
'{rsListing::IMXB}': { caption: 'A Ceibu tree.' },
'{rsListing::IMXC}': { caption: 'The view from Volcano Maderas.' },
'{rsListing::IMXD}': { caption: 'Beer and ice cream.' }
};
var myShow = new Slideshow.KenBurns('show', data, {controller: true, height: 400, thumbnails: false, width: 300});
});
//]]>
Appreciate your input.