I have been struggling with what seems like should be an easy problem:
I inherited a site that uses what looks to be a combination of a slider and jquery backstretch. The client has requested that one of the slideshows have captions, positioned along the visible bottom of the image.
So I want to turn this:
<div id="backstretch" style="…">
<img style="…">
</div>
Into this:
<div id="backstretch" style="…">
<img style="…">
<div class="gallery-caption">Caption</div>
</div>
And destroy each instance of the div, as it does with the images.
However, I can't seem to get the javascript to render the caption div, and keep it in synch with the navigation. For the purposes of clear water, I have removed all of my attempts, and gone back to the JS code I started with.
Here is an example: http://tylonius.net/backstretch/lifestyle-gallery.html
Can anyone help with this?