title: Thumbnail Captions Single and Double Click?
body: <p>I know nearly nothing about this all so I turn to you for some desperately needed help. If you need to see any more code or info just ask and i'll answer asap.</p>
  
  <p>the following code snippet is what im using for a photo gallery on:</p>
  
  <p><a href="http://luisposada.co.uk/home/photography-2/" rel="nofollow noreferrer">http://luisposada.co.uk/home/photography-2/</a></p>
  
  <p>The problem is the following the caption below the main picture appears on one click when you go through the thumbnails from left to right but on a double click only going from right to left. Obviously i want the captions to change no matter what order the thumbnails are clicked in and on a single click.</p>
  
  <p>Thank you very much.</p>
  
  <pre><code>&lt;script type="text/javascript"&gt; 
  
  $(function() {
     $('#feature').cycle({
         speed:       1000,
         timeout:     &lt;?php echo $speed; ?&gt;
     });
  
  $("#yc_thumbnail_frame a").live("click",function(){
      $(".yc_img_fullsize").each(function(index) {
          if ($(this).is(":visible")) {
              var text = $(this).attr("alt");
              $(".caption").html(text);
          }
      });
    });
  });
  
  $(window).load(function() {
     $("img.yc_img_fullsize").each(function(index) {
      if ($(this).is(":visible")) {
          var text = $(this).attr("alt");
          $(this).parent().after("&lt;p class='caption'&gt;" + text + "&lt;/p&gt;");
      }
    });
  
  });
  
  &lt;/script&gt; 
  </code></pre>