Im using a plugin that requires the rel-element to look like this.
<ul id="product-thumbs-list">
<li><a href="1-big.jpg" rel="useZoom: 'cdonZoom', smallImage: '1.jpg'"></li>
<li><a href="2-big.jpg" rel="useZoom: 'cdonZoom', smallImage: '2.jpg'"></li>
</ul>
Is it possible to get the smallImage-value via jQuery?
In this case, ‘1.jpg, or ‘2.jpg’.
Thanks!
Here is one way:
Live test case.