jquery - How To Add Description To JCarousel -


i using jcarousel. can't add description photo in slider.

<div id="jcarousel">     <ul id="mycarousel" class="jcarousel-skin-tango">         <li>             <img src="images/about_img1.jpg"/>         </li>                     </ul> </div> 

you can create div after jcarousel container , change content of div on next , previous button click callback function in jquery. check this:

<div id="jcarousel">     <ul id="mycarousel" class="jcarousel-skin-tango">         <li>             <img src="images/about_img1.jpg"/>         </li>                     </ul> </div> <div id="description">     <label id="caption">first image</label> </div> 

in jquery code:

keep data structure, array captions. , change caption according image being shown.

hope helps.


Comments

Popular posts from this blog

c# - How to get the current UAC mode -

postgresql - Lazarus + Postgres: incomplete startup packet -

javascript - Ajax jqXHR.status==0 fix error -