Tuesday, 25 November 2014

XML image slideshow jQuery



I have the following XML:



<?xml version="1.0" encoding="iso-8859-1"?>
<images delay='5' fadeSpeed='3'>
<pic>
<image>images/1973.jpg</image>
<caption>Image 1</caption>
</pic>
<pic>
<image>images/1974.jpg</image>
<caption>Image 2</caption>
</pic>
etc ...
</images>


I wanted to create a non flash based image slideshow with this data. It doesn't even have to use the XML to be honest. I could just pull the caption from the image file name. I did want the slideshow to have a counter (e.g. 2/42 images) and also a play/pause button.


Any advice or links to an existing bit of jQuery?


No comments:

Post a Comment