title: Display image title with jQuery Cycle Plugin?
body: <p>I am trying to make the image title display at the same time the image appears, it currently appears right after the image does, using the :after option, code looks like this, Any ideas how I can make the title show up in sync with the image? Thank you!
  Copy code</p>
  
  <pre><code>     $(document).ready(function() {
                $('#home_gallery').before('&lt;ul class="gallery-nav"&gt;').cycle({
                    fx:     'fade',
                    speed:  '1000',
                    timeout: 6000,
                    pager:  '.gallery-nav',
                    slideExpr: 'img',
                    after:   addTitle
                });
  
             function addTitle() {
                    var name = $(this).attr('alt');
  
                    $('.gallery-title').text(name);
                }
  </code></pre>