Reputation: 473
I am implementing the looped slider plugin (see: http://nathansearles.com/loopedslider/example-4.html) on a website, and need to add captions to the images (that just appear as text beneath their corresponding images).
Could anyone point me in a direction of where I could start? There is already so much jquery going on in this plugin...
Thank you very much.
Upvotes: 1
Views: 1407
Reputation: 86453
If you look at example-3, you can see the author added text below the image using a paragraph inside the list item, like this:
<ul class="slides">
<li><img src="image-01.jpg" width="500" height="375" alt="First Image" />
<p>Add a caption here</p>
</li>
<li><img src="image-02.jpg" width="500" height="375" alt="Second Image" /></li>
<li><img src="image-03.jpg" width="500" height="375" alt="Third Image" /></li>
<li><img src="image-04.jpg" width="500" height="375" alt="Fourth Image" /></li>
</ul>
Upvotes: 1