title: dynamic carousel with jcarousel
body: <p>I have been scratching my head here for hours now,
  trying to use jcarousel with a dynamic generated content, meaning , i get an initial carousel , say , with 3 items in it, and then adding another item to the carousel.</p>
  
  <p>im doing it basically like this :</p>
  
  <pre><code>$('.actorslider .slides').jcarousel('add', index, html);
  </code></pre>
  
  <p>problem is , the index is dynamic and when a user clicks "next" on the initial carousel i dont know what is the next index i should use , and when im trying to count the elements or increment the last one the carousel just doubles up .</p>
  
  <p>you can see what i mean <a href="http://www.haimshraga.co.il/?page_id=18" rel="nofollow">here</a> </p>
  
  <p>press the button under the image once and then the mess starts.</p>
  
  <p>any ideas ?</p>